23 code results in rust-lang/rust
src/libstd/sys/unix/l4re.rs
Rust
Showing the top four matches
Last indexed Apr 1, 2019
| 69 | pub fn write_vectored(&self, _: &[IoVec<'_>]) -> io::Result<usize> { |
| 70 | unimpl!(); |
| 71 | } |
| 72 | |
| 73 | pub fn set_timeout(&self, _: Option<Duration>, _: libc::c_int) -> io::Result<()> { |
| … | |
| 77 | pub fn timeout(&self, _: libc::c_int) -> io::Result<Option<Duration>> { |
| 78 | unimpl!(); |
| 79 | } |
| 80 | |
| 81 | pub fn shutdown(&self, _: Shutdown) -> io::Result<()> { |
src/libstd/sys/cloudabi/shims/net.rs
Rust
Showing the top four matches
Last indexed Apr 1, 2019
src/libstd/sys/wasi/net.rs
Rust
Showing the top two matches
Last indexed Apr 1, 2019
src/libstd/sys/wasm/net.rs
Rust
Showing the top two matches
Last indexed Apr 1, 2019
src/libstd/sys/sgx/net.rs
Rust
Showing the top four matches
Last indexed Apr 1, 2019
| 103 | pub fn set_read_timeout(&self, dur: Option<Duration>) -> io::Result<()> { |
| 104 | match dur { |
| 105 | Some(dur) if dur == Duration::default() => { |
| … | |
| 107 | "cannot set a 0 duration timeout")); |
| 108 | } |
| 109 | _ => sgx_ineffective(()) |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | pub fn set_write_timeout(&self, dur: Option<Duration>) -> io::Result<()> { |
src/libstd/sys/redox/net/tcp.rs
Rust
Showing the top four matches
Last indexed Apr 1, 2019
src/libstd/sys/redox/net/udp.rs
Rust
Showing the top four matches
Last indexed Apr 1, 2019
src/libstd/sys_common/net.rs
Rust
Showing the top four matches
Last indexed Apr 1, 2019
src/libstd/sys/sgx/time.rs
Rust
Showing the top two matches
Last indexed Apr 1, 2019