Skip to content

Conversation

jayvdb
Copy link
Contributor

@jayvdb jayvdb commented Nov 21, 2023

Without this, I see

error[E0599]: no method named `bind_device` found for struct `Socket` in the current scope
   --> /home/jayvdb/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.1/src/client/legacy/connect/http.rs:704:14
    |
703 | /         socket
704 | |             .bind_device(Some(interface.as_bytes()))
    | |             -^^^^^^^^^^^ method not found in `Socket`
    | |_____________|
    | 

error[E0599]: no method named `with_retries` found for struct `TcpKeepalive` in the current scope
   --> /home/jayvdb/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.1/src/client/legacy/connect/http.rs:130:12
    |
130 |         ka.with_retries(retries)
    |            ^^^^^^^^^^^^ help: there is a method with a similar name: `with_time`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `hyper-util` (lib) due to 2 previous errors

@seanmonstar seanmonstar merged commit b941b18 into hyperium:master Nov 21, 2023
@jayvdb jayvdb deleted the add-socket-feature branch November 21, 2023 12:07
@MeerKatDev
Copy link

v0.1.1 has this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants