Skip to content

field 0 of struct quinn::StreamId is private #1079

@awnion

Description

@awnion

Describe the bug

error[E0616]: field `0` of struct `quinn::StreamId` is private
   --> /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/salvo-http3-0.4.0/src/http3_quinn.rs:484:14
    |
484 |             .0
    |              ^ private field

error[E0616]: field `0` of struct `quinn::StreamId` is private
   --> /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/salvo-http3-0.4.0/src/http3_quinn.rs:626:14
    |
626 |             .0
    |              ^ private field

   Compiling moka v0.12.10
    Checking base64 v0.13.1
    Checking async-lock v3.4.0
    Checking tower v0.5.2
For more information about this error, try `rustc --explain E0616`.
error: could not compile `salvo-http3` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

To Reproduce
Steps to reproduce the behavior:

cargo check --all-features

Expected behavior
Compilation OK

Screenshots
Image

Desktop:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions