Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. error[E0277]: the trait bound `&std::net::SocketAddr: std::str::FromStr` is not satisfied
  2. --> src/main.rs:75:35
  3. |
  4. 75 | let address = "0.0.0.0:12345".parse().unwrap();
  5. | ^^^^^ the trait `std::str::FromStr` is not implemented for `&std::net::SocketAddr`
  6. |
  7. = help: the following implementations were found:
  8. <std::net::SocketAddr as std::str::FromStr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement