Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error[E0277]: the trait bound `&std::net::SocketAddr: std::str::FromStr` is not satisfied
- --> src/main.rs:75:35
- |
- 75 | let address = "0.0.0.0:12345".parse().unwrap();
- | ^^^^^ the trait `std::str::FromStr` is not implemented for `&std::net::SocketAddr`
- |
- = help: the following implementations were found:
- <std::net::SocketAddr as std::str::FromStr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement