Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cargo +nightly build --release --target=wasm32-unknown-unknown
- Compiling net2 v0.2.32
- Compiling time v0.1.39
- Compiling base64 v0.9.0
- Compiling wasm-bindgen-shared v0.2.3
- Compiling serde_json v1.0.15
- Compiling num-integer v0.1.36
- Compiling unicase v1.4.2
- Compiling unicase v2.1.0
- Compiling log v0.3.9
- error[E0432]: unresolved import `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/tcp.rs:18:5
- |
- 18 | use sys::c;
- | ^^^ Maybe a missing `extern crate sys;`?
- error[E0432]: unresolved import `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/udp.rs:18:5
- |
- 18 | use sys::c;
- | ^^^ Maybe a missing `extern crate sys;`?
- error[E0432]: unresolved import `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/socket.rs:20:5
- |
- 20 | use sys;
- | ^^^ no `sys` in the root
- error[E0432]: unresolved import `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/socket.rs:21:5
- |
- 21 | use sys::c;
- | ^^^ Maybe a missing `extern crate sys;`?
- error[E0433]: failed to resolve. Maybe a missing `extern crate sys;`?
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/socket.rs:34:13
- |
- 34 | use sys::c::socklen_t as len_t;
- | ^^^ Maybe a missing `extern crate sys;`?
- error[E0432]: unresolved import `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:19:5
- |
- 19 | use sys;
- | ^^^ no `sys` in the root
- error[E0432]: unresolved import `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:20:5
- |
- 20 | use sys::c;
- | ^^^ Maybe a missing `extern crate sys;`?
- error[E0432]: unresolved import `self::inner`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/sys.rs:3:15
- |
- 3 | pub use self::inner::*;
- | ^^^^^ Could not find `inner` in `self`
- error[E0433]: failed to resolve. Could not find `SteadyTime` in `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:247:25
- |
- 247 | SteadyTime(sys::SteadyTime::now())
- | ^^^^^^^^^^ Could not find `SteadyTime` in `sys`
- error[E0425]: cannot find function `get_time` in module `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:150:28
- |
- 150 | let (sec, nsec) = sys::get_time();
- | ^^^^^^^^ not found in `sys`
- help: possible candidate is found in another module, you can import it into scope
- |
- 46 | use get_time;
- |
- error[E0425]: cannot find function `get_precise_ns` in module `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:160:10
- |
- 160 | sys::get_precise_ns()
- | ^^^^^^^^^^^^^^ not found in `sys`
- error[E0412]: cannot find type `SteadyTime` in module `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:242:28
- |
- 242 | pub struct SteadyTime(sys::SteadyTime);
- | ^^^^^^^^^^ not found in `sys`
- help: possible candidate is found in another module, you can import it into scope
- |
- 46 | use SteadyTime;
- |
- error[E0425]: cannot find function `time_to_utc_tm` in module `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:404:10
- |
- 404 | sys::time_to_utc_tm(sec, &mut tm);
- | ^^^^^^^^^^^^^^ not found in `sys`
- error[E0425]: cannot find function `time_to_local_tm` in module `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:418:10
- |
- 418 | sys::time_to_local_tm(sec, &mut tm);
- | ^^^^^^^^^^^^^^^^ not found in `sys`
- error[E0425]: cannot find function `utc_tm_to_time` in module `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:432:23
- |
- 432 | 0 => sys::utc_tm_to_time(self),
- | ^^^^^^^^^^^^^^ not found in `sys`
- error[E0425]: cannot find function `local_tm_to_time` in module `sys`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:433:23
- |
- 433 | _ => sys::local_tm_to_time(self)
- | ^^^^^^^^^^^^^^^^ not found in `sys`
- Compiling tokio-io v0.1.6
- error[E0204]: the trait `Copy` may not be implemented for this type
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.39/src/lib.rs:241:17
- |
- 241 | #[derive(Clone, Copy, PartialOrd, Ord, PartialEq, Eq, Debug)]
- | ^^^^
- 242 | pub struct SteadyTime(sys::SteadyTime);
- | ---------------- this field does not implement `Copy`
- error: aborting due to 10 previous errors
- Some errors occurred: E0204, E0412, E0425, E0432, E0433.
- For more information about an error, try `rustc --explain E0204`.
- error: Could not compile `time`.
- warning: build failed, waiting for other jobs to finish...
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/socket.rs:28:24
- |
- 28 | pub fn new(family: c_int, ty: c_int) -> io::Result<Socket> {
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 11 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/socket.rs:28:35
- |
- 28 | pub fn new(family: c_int, ty: c_int) -> io::Result<Socket> {
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 11 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `len_t` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/socket.rs:40:58
- |
- 40 | ::cvt(c::bind(self.inner.raw(), addr, len as len_t)).map(|_| ())
- | ^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/socket.rs:104:32
- |
- 104 | match storage.ss_family as c_int {
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 11 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `Socket` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:60:31
- |
- 60 | pub fn set_opt<T: Copy>(sock: Socket, opt: c_int, val: c_int,
- | ^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use socket::Socket;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:60:44
- |
- 60 | pub fn set_opt<T: Copy>(sock: Socket, opt: c_int, val: c_int,
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:60:56
- |
- 60 | pub fn set_opt<T: Copy>(sock: Socket, opt: c_int, val: c_int,
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_void` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:63:54
- |
- 63 | let payload = &payload as *const T as *const c_void;
- | ^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_void;
- |
- error[E0425]: cannot find function `setsockopt` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:64:20
- |
- 64 | try!(::cvt(setsockopt(sock, opt, val, payload as *const _,
- | ^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `socklen_t` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:65:54
- |
- 65 | mem::size_of::<T>() as socklen_t)));
- | ^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `Socket` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:70:31
- |
- 70 | pub fn get_opt<T: Copy>(sock: Socket, opt: c_int, val: c_int) -> io::Result<T> {
- | ^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use socket::Socket;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:70:44
- |
- 70 | pub fn get_opt<T: Copy>(sock: Socket, opt: c_int, val: c_int) -> io::Result<T> {
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:70:56
- |
- 70 | pub fn get_opt<T: Copy>(sock: Socket, opt: c_int, val: c_int) -> io::Result<T> {
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `socklen_t` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:73:46
- |
- 73 | let mut len = mem::size_of::<T>() as socklen_t;
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `getsockopt` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:74:20
- |
- 74 | try!(::cvt(getsockopt(sock, opt, val,
- | ^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `Socket` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:635:26
- |
- 635 | fn as_sock(&self) -> Socket;
- | ^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use socket::Socket;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:663:33
- |
- 663 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF, size as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_RCVBUF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:663:45
- |
- 663 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF, size as c_int)
- | ^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:663:64
- |
- 663 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF, size as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:667:33
- |
- 667 | get_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF).map(int2usize)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_RCVBUF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:667:45
- |
- 667 | get_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF).map(int2usize)
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:671:33
- |
- 671 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF, size as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_SNDBUF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:671:45
- |
- 671 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF, size as c_int)
- | ^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:671:64
- |
- 671 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF, size as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:675:33
- |
- 675 | get_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF).map(int2usize)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_SNDBUF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:675:45
- |
- 675 | get_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF).map(int2usize)
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:679:33
- |
- 679 | set_opt(self.as_sock(), v(IPPROTO_TCP), TCP_NODELAY,
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_TCP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:679:35
- |
- 679 | set_opt(self.as_sock(), v(IPPROTO_TCP), TCP_NODELAY,
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `TCP_NODELAY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:679:49
- |
- 679 | set_opt(self.as_sock(), v(IPPROTO_TCP), TCP_NODELAY,
- | ^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:680:27
- |
- 680 | nodelay as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:683:33
- |
- 683 | get_opt(self.as_sock(), v(IPPROTO_TCP), TCP_NODELAY)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_TCP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:683:35
- |
- 683 | get_opt(self.as_sock(), v(IPPROTO_TCP), TCP_NODELAY)
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `TCP_NODELAY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:683:49
- |
- 683 | get_opt(self.as_sock(), v(IPPROTO_TCP), TCP_NODELAY)
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:767:33
- |
- 767 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVTIMEO,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_RCVTIMEO` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:767:45
- |
- 767 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVTIMEO,
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `ms2timeout` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:768:16
- |
- 768 | ms2timeout(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:772:33
- |
- 772 | get_opt(self.as_sock(), SOL_SOCKET, SO_RCVTIMEO)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_RCVTIMEO` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:772:45
- |
- 772 | get_opt(self.as_sock(), SOL_SOCKET, SO_RCVTIMEO)
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `timeout2ms` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:773:18
- |
- 773 | .map(timeout2ms)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:777:33
- |
- 777 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDTIMEO,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_SNDTIMEO` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:777:45
- |
- 777 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDTIMEO,
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `ms2timeout` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:778:16
- |
- 778 | ms2timeout(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:782:33
- |
- 782 | get_opt(self.as_sock(), SOL_SOCKET, SO_SNDTIMEO)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_SNDTIMEO` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:782:45
- |
- 782 | get_opt(self.as_sock(), SOL_SOCKET, SO_SNDTIMEO)
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `timeout2ms` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:783:18
- |
- 783 | .map(timeout2ms)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:803:33
- |
- 803 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:803:45
- |
- 803 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:803:60
- |
- 803 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:807:19
- |
- 807 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:807:42
- |
- 807 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:807:54
- |
- 807 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:812:33
- |
- 812 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:812:35
- |
- 812 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_V6ONLY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:812:50
- |
- 812 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:812:74
- |
- 812 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:816:33
- |
- 816 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:816:35
- |
- 816 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_V6ONLY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:816:50
- |
- 816 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:824:33
- |
- 824 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_ERROR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:824:45
- |
- 824 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `set_nonblocking` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:828:9
- |
- 828 | set_nonblocking(self.as_sock(), nonblocking)
- | ^^^^^^^^^^^^^^^ help: try: `self.set_nonblocking`
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:832:33
- |
- 832 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_LINGER` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:832:45
- |
- 832 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `dur2linger` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:832:56
- |
- 832 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:836:33
- |
- 836 | get_opt(self.as_sock(), SOL_SOCKET, SO_LINGER).map(linger2dur)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_LINGER` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:836:45
- |
- 836 | get_opt(self.as_sock(), SOL_SOCKET, SO_LINGER).map(linger2dur)
- | ^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `linger` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:875:27
- |
- 875 | fn linger2dur(linger_opt: linger) -> Option<Duration> {
- | ^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:918:20
- |
- 918 | pub fn int2bool(n: c_int) -> bool {
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:922:21
- |
- 922 | pub fn int2usize(n: c_int) -> usize {
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:927:19
- |
- 927 | pub fn int2err(n: c_int) -> Option<io::Error> {
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:938:33
- |
- 938 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF, size as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_RCVBUF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:938:45
- |
- 938 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF, size as c_int)
- | ^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:938:64
- |
- 938 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF, size as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:942:33
- |
- 942 | get_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF).map(int2usize)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_RCVBUF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:942:45
- |
- 942 | get_opt(self.as_sock(), SOL_SOCKET, SO_RCVBUF).map(int2usize)
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:946:33
- |
- 946 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF, size as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_SNDBUF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:946:45
- |
- 946 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF, size as c_int)
- | ^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:946:64
- |
- 946 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF, size as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:950:33
- |
- 950 | get_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF).map(int2usize)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_SNDBUF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:950:45
- |
- 950 | get_opt(self.as_sock(), SOL_SOCKET, SO_SNDBUF).map(int2usize)
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:954:33
- |
- 954 | set_opt(self.as_sock(), SOL_SOCKET, SO_BROADCAST,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_BROADCAST` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:954:45
- |
- 954 | set_opt(self.as_sock(), SOL_SOCKET, SO_BROADCAST,
- | ^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:955:29
- |
- 955 | broadcast as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:958:33
- |
- 958 | get_opt(self.as_sock(), SOL_SOCKET, SO_BROADCAST)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_BROADCAST` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:958:45
- |
- 958 | get_opt(self.as_sock(), SOL_SOCKET, SO_BROADCAST)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:962:33
- |
- 962 | set_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_LOOP,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_MULTICAST_LOOP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:962:45
- |
- 962 | set_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_LOOP,
- | ^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:963:37
- |
- 963 | multicast_loop_v4 as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:966:33
- |
- 966 | get_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_LOOP)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_MULTICAST_LOOP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:966:45
- |
- 966 | get_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_LOOP)
- | ^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:971:33
- |
- 971 | set_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_TTL,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_MULTICAST_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:971:45
- |
- 971 | set_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_TTL,
- | ^^^^^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:972:36
- |
- 972 | multicast_ttl_v4 as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:976:19
- |
- 976 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_MULTICAST_TTL)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:976:42
- |
- 976 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_MULTICAST_TTL)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_MULTICAST_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:976:54
- |
- 976 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_MULTICAST_TTL)
- | ^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:981:33
- |
- 981 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_HOPS,
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:981:35
- |
- 981 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_HOPS,
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_MULTICAST_HOPS` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:981:50
- |
- 981 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_HOPS,
- | ^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:982:24
- |
- 982 | hops as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:986:19
- |
- 986 | get_opt::<c_int>(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_HOPS)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:986:42
- |
- 986 | get_opt::<c_int>(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_HOPS)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:986:44
- |
- 986 | get_opt::<c_int>(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_HOPS)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_MULTICAST_HOPS` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:986:59
- |
- 986 | get_opt::<c_int>(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_HOPS)
- | ^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:991:33
- |
- 991 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_LOOP,
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:991:35
- |
- 991 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_LOOP,
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_MULTICAST_LOOP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:991:50
- |
- 991 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_LOOP,
- | ^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:992:37
- |
- 992 | multicast_loop_v6 as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:995:33
- |
- 995 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_LOOP)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:995:35
- |
- 995 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_LOOP)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_MULTICAST_LOOP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:995:50
- |
- 995 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_LOOP)
- | ^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1000:33
- |
- 1000 | set_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_IF, ip2in_addr(interface))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_MULTICAST_IF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1000:45
- |
- 1000 | set_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_IF, ip2in_addr(interface))
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `ip2in_addr` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1000:62
- |
- 1000 | set_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_IF, ip2in_addr(interface))
- | ^^^^^^^^^^ did you mean `ip2in6_addr`?
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1004:33
- |
- 1004 | get_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_IF).map(in_addr2ip)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_MULTICAST_IF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1004:45
- |
- 1004 | get_opt(self.as_sock(), IPPROTO_IP, IP_MULTICAST_IF).map(in_addr2ip)
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1008:33
- |
- 1008 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_IF, to_ipv6mr_interface(interface))
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1008:35
- |
- 1008 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_IF, to_ipv6mr_interface(interface))
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_MULTICAST_IF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1008:50
- |
- 1008 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_IF, to_ipv6mr_interface(interface))
- | ^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1012:19
- |
- 1012 | get_opt::<c_int>(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_IF).map(|b| b as u32)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1012:42
- |
- 1012 | get_opt::<c_int>(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_IF).map(|b| b as u32)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1012:44
- |
- 1012 | get_opt::<c_int>(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_IF).map(|b| b as u32)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_MULTICAST_IF` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1012:59
- |
- 1012 | get_opt::<c_int>(self.as_sock(), v(IPPROTO_IPV6), IPV6_MULTICAST_IF).map(|b| b as u32)
- | ^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1016:33
- |
- 1016 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1016:45
- |
- 1016 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1016:60
- |
- 1016 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1020:19
- |
- 1020 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1020:42
- |
- 1020 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1020:54
- |
- 1020 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1025:33
- |
- 1025 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_UNICAST_HOPS, ttl as c_int)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1025:35
- |
- 1025 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_UNICAST_HOPS, ttl as c_int)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_UNICAST_HOPS` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1025:50
- |
- 1025 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_UNICAST_HOPS, ttl as c_int)
- | ^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1025:76
- |
- 1025 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_UNICAST_HOPS, ttl as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1029:19
- |
- 1029 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IPV6_UNICAST_HOPS)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1029:42
- |
- 1029 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IPV6_UNICAST_HOPS)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_UNICAST_HOPS` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1029:54
- |
- 1029 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IPV6_UNICAST_HOPS)
- | ^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1034:33
- |
- 1034 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1034:35
- |
- 1034 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_V6ONLY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1034:50
- |
- 1034 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1034:74
- |
- 1034 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1038:33
- |
- 1038 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1038:35
- |
- 1038 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_V6ONLY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1038:50
- |
- 1038 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^^^^^^^^^^^ not found in this scope
- error[E0422]: cannot find struct, variant or union type `ip_mreq` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1043:20
- |
- 1043 | let mreq = ip_mreq {
- | ^^^^^^^ not found in this scope
- error[E0425]: cannot find function `ip2in_addr` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1044:28
- |
- 1044 | imr_multiaddr: ip2in_addr(multiaddr),
- | ^^^^^^^^^^ did you mean `ip2in6_addr`?
- error[E0425]: cannot find function `ip2in_addr` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1045:28
- |
- 1045 | imr_interface: ip2in_addr(interface),
- | ^^^^^^^^^^ did you mean `ip2in6_addr`?
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1047:33
- |
- 1047 | set_opt(self.as_sock(), IPPROTO_IP, IP_ADD_MEMBERSHIP, mreq)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_ADD_MEMBERSHIP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1047:45
- |
- 1047 | set_opt(self.as_sock(), IPPROTO_IP, IP_ADD_MEMBERSHIP, mreq)
- | ^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0422]: cannot find struct, variant or union type `ipv6_mreq` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1052:20
- |
- 1052 | let mreq = ipv6_mreq {
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1056:33
- |
- 1056 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_ADD_MEMBERSHIP,
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1056:35
- |
- 1056 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_ADD_MEMBERSHIP,
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_ADD_MEMBERSHIP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1056:50
- |
- 1056 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_ADD_MEMBERSHIP,
- | ^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0422]: cannot find struct, variant or union type `ip_mreq` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1062:20
- |
- 1062 | let mreq = ip_mreq {
- | ^^^^^^^ not found in this scope
- error[E0425]: cannot find function `ip2in_addr` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1063:28
- |
- 1063 | imr_multiaddr: ip2in_addr(multiaddr),
- | ^^^^^^^^^^ did you mean `ip2in6_addr`?
- error[E0425]: cannot find function `ip2in_addr` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1064:28
- |
- 1064 | imr_interface: ip2in_addr(interface),
- | ^^^^^^^^^^ did you mean `ip2in6_addr`?
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1066:33
- |
- 1066 | set_opt(self.as_sock(), IPPROTO_IP, IP_DROP_MEMBERSHIP, mreq)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_DROP_MEMBERSHIP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1066:45
- |
- 1066 | set_opt(self.as_sock(), IPPROTO_IP, IP_DROP_MEMBERSHIP, mreq)
- | ^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0422]: cannot find struct, variant or union type `ipv6_mreq` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1071:20
- |
- 1071 | let mreq = ipv6_mreq {
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1075:33
- |
- 1075 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_DROP_MEMBERSHIP,
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1075:35
- |
- 1075 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_DROP_MEMBERSHIP,
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_DROP_MEMBERSHIP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1075:50
- |
- 1075 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_DROP_MEMBERSHIP,
- | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1080:33
- |
- 1080 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVTIMEO,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_RCVTIMEO` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1080:45
- |
- 1080 | set_opt(self.as_sock(), SOL_SOCKET, SO_RCVTIMEO,
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `ms2timeout` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1081:16
- |
- 1081 | ms2timeout(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1085:33
- |
- 1085 | get_opt(self.as_sock(), SOL_SOCKET, SO_RCVTIMEO)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_RCVTIMEO` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1085:45
- |
- 1085 | get_opt(self.as_sock(), SOL_SOCKET, SO_RCVTIMEO)
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `timeout2ms` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1086:18
- |
- 1086 | .map(timeout2ms)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1090:33
- |
- 1090 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDTIMEO,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_SNDTIMEO` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1090:45
- |
- 1090 | set_opt(self.as_sock(), SOL_SOCKET, SO_SNDTIMEO,
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `ms2timeout` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1091:16
- |
- 1091 | ms2timeout(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1095:33
- |
- 1095 | get_opt(self.as_sock(), SOL_SOCKET, SO_SNDTIMEO)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_SNDTIMEO` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1095:45
- |
- 1095 | get_opt(self.as_sock(), SOL_SOCKET, SO_SNDTIMEO)
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `timeout2ms` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1096:18
- |
- 1096 | .map(timeout2ms)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1116:33
- |
- 1116 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_ERROR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1116:45
- |
- 1116 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `set_nonblocking` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1159:9
- |
- 1159 | set_nonblocking(self.as_sock(), nonblocking)
- | ^^^^^^^^^^^^^^^ help: try: `self.set_nonblocking`
- error[E0412]: cannot find type `Socket` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1163:39
- |
- 1163 | fn do_connect<A: ToSocketAddrs>(sock: Socket, addr: A) -> io::Result<()> {
- | ^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use socket::Socket;
- |
- error[E0412]: cannot find type `in_addr` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1218:20
- |
- 1218 | fn in_addr2ip(ip: &in_addr) -> Ipv4Addr {
- | ^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_uint` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1235:39
- |
- 1235 | fn to_ipv6mr_interface(value: u32) -> c_uint {
- | ^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_uint;
- |
- error[E0412]: cannot find type `c_uint` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1236:14
- |
- 1236 | value as c_uint
- | ^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_uint;
- |
- error[E0412]: cannot find type `in6_addr` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1239:34
- |
- 1239 | fn ip2in6_addr(ip: &Ipv6Addr) -> in6_addr {
- | ^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `in6_addr` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1240:18
- |
- 1240 | let mut ret: in6_addr = unsafe { mem::zeroed() };
- | ^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1268:33
- |
- 1268 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1268:45
- |
- 1268 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1268:60
- |
- 1268 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1272:19
- |
- 1272 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1272:42
- |
- 1272 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1272:54
- |
- 1272 | get_opt::<c_int>(self.as_sock(), IPPROTO_IP, IP_TTL)
- | ^^^^^^ not found in this scope
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1277:33
- |
- 1277 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1277:35
- |
- 1277 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_V6ONLY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1277:50
- |
- 1277 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1277:74
- |
- 1277 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1281:33
- |
- 1281 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1281:35
- |
- 1281 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_V6ONLY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1281:50
- |
- 1281 | get_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY).map(int2bool)
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1285:33
- |
- 1285 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_ERROR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1285:45
- |
- 1285 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `set_nonblocking` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1289:9
- |
- 1289 | set_nonblocking(self.as_sock(), nonblocking)
- | ^^^^^^^^^^^^^^^ help: try: `self.set_nonblocking`
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1293:33
- |
- 1293 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_LINGER` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1293:45
- |
- 1293 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `dur2linger` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1293:56
- |
- 1293 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1297:33
- |
- 1297 | get_opt(self.as_sock(), SOL_SOCKET, SO_LINGER).map(linger2dur)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_LINGER` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1297:45
- |
- 1297 | get_opt(self.as_sock(), SOL_SOCKET, SO_LINGER).map(linger2dur)
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1308:33
- |
- 1308 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1308:45
- |
- 1308 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1308:60
- |
- 1308 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1318:33
- |
- 1318 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1318:35
- |
- 1318 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_V6ONLY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1318:50
- |
- 1318 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1318:74
- |
- 1318 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1328:33
- |
- 1328 | set_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_REUSEADDR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1328:45
- |
- 1328 | set_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR,
- | ^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1329:25
- |
- 1329 | reuse as c_int).map(|()| self)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1334:33
- |
- 1334 | get_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR).map(int2bool)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_REUSEADDR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1334:45
- |
- 1334 | get_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR).map(int2bool)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1343:33
- |
- 1343 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_ERROR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1343:45
- |
- 1343 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1348:33
- |
- 1348 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_LINGER` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1348:45
- |
- 1348 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `dur2linger` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1348:56
- |
- 1348 | set_opt(self.as_sock(), SOL_SOCKET, SO_LINGER, dur2linger(dur))
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1353:33
- |
- 1353 | get_opt(self.as_sock(), SOL_SOCKET, SO_LINGER).map(linger2dur)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_LINGER` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1353:45
- |
- 1353 | get_opt(self.as_sock(), SOL_SOCKET, SO_LINGER).map(linger2dur)
- | ^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IP` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1364:33
- |
- 1364 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IP_TTL` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1364:45
- |
- 1364 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1364:60
- |
- 1364 | set_opt(self.as_sock(), IPPROTO_IP, IP_TTL, ttl as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find function `v` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1374:33
- |
- 1374 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^ not found in this scope
- error[E0425]: cannot find value `IPPROTO_IPV6` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1374:35
- |
- 1374 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `IPV6_V6ONLY` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1374:50
- |
- 1374 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1374:74
- |
- 1374 | set_opt(self.as_sock(), v(IPPROTO_IPV6), IPV6_V6ONLY, only_v6 as c_int)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1384:33
- |
- 1384 | set_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR,
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_REUSEADDR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1384:45
- |
- 1384 | set_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR,
- | ^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `c_int` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1385:25
- |
- 1385 | reuse as c_int).map(|()| self)
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 13 | use std::os::raw::c_int;
- |
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1390:33
- |
- 1390 | get_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR).map(int2bool)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_REUSEADDR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1390:45
- |
- 1390 | get_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR).map(int2bool)
- | ^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SOL_SOCKET` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1399:33
- |
- 1399 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `SO_ERROR` in this scope
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:1399:45
- |
- 1399 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
- | ^^^^^^^^ not found in this scope
- error[E0046]: not all trait items implemented, missing: `set_keepalive_ms`, `keepalive_ms`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:659:1
- |
- 138 | fn set_keepalive_ms(&self, keepalive: Option<u32>) -> io::Result<()>;
- | --------------------------------------------------------------------- `set_keepalive_ms` from trait
- ...
- 146 | fn keepalive_ms(&self) -> io::Result<Option<u32>>;
- | -------------------------------------------------- `keepalive_ms` from trait
- ...
- 659 | impl TcpStreamExt for TcpStream {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `set_keepalive_ms`, `keepalive_ms` in implementation
- error[E0046]: not all trait items implemented, missing: `send`, `recv`
- --> /Users/huy/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/ext.rs:935:1
- |
- 615 | fn send(&self, buf: &[u8]) -> io::Result<usize>;
- | ------------------------------------------------ `send` from trait
- ...
- 622 | fn recv(&self, buf: &mut [u8]) -> io::Result<usize>;
- | ---------------------------------------------------- `recv` from trait
- ...
- 935 | impl UdpSocketExt for UdpSocket {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `send`, `recv` in implementation
- error: aborting due to 245 previous errors
- Some errors occurred: E0046, E0412, E0422, E0425, E0432, E0433.
- For more information about an error, try `rustc --explain E0046`.
- error: Could not compile `net2`.
- warning: build failed, waiting for other jobs to finish...
- error: build failed
- make: *** [build] Error 101
Add Comment
Please, Sign In to add comment