Home
last modified time | relevance | path

Searched refs:OwnedWriteHalf (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/tokio/src/net/unix/
Dsplit_owned.rs49 pub struct OwnedWriteHalf { struct
54 pub(crate) fn split_owned(stream: UnixStream) -> (OwnedReadHalf, OwnedWriteHalf) { in split_owned() argument
59 let write = OwnedWriteHalf { in split_owned()
68 write: OwnedWriteHalf, in reunite() argument
83 pub struct ReuniteError(pub OwnedReadHalf, pub OwnedWriteHalf);
102 pub fn reunite(self, other: OwnedWriteHalf) -> Result<UnixStream, ReuniteError> { in reunite()
117 impl OwnedWriteHalf { impl
136 impl Drop for OwnedWriteHalf { implementation
144 impl AsyncWrite for OwnedWriteHalf { implementation
187 impl AsRef<UnixStream> for OwnedWriteHalf { implementation
Dmod.rs11 pub use split_owned::{OwnedReadHalf, OwnedWriteHalf, ReuniteError};
Dstream.rs4 use crate::net::unix::split_owned::{split_owned, OwnedReadHalf, OwnedWriteHalf};
628 pub fn into_split(self) -> (OwnedReadHalf, OwnedWriteHalf) { in into_split() argument
/external/rust/crates/tokio/src/net/tcp/
Dsplit_owned.rs50 pub struct OwnedWriteHalf { struct
55 pub(crate) fn split_owned(stream: TcpStream) -> (OwnedReadHalf, OwnedWriteHalf) { in split_owned() argument
60 let write = OwnedWriteHalf { in split_owned()
69 write: OwnedWriteHalf, in reunite() argument
84 pub struct ReuniteError(pub OwnedReadHalf, pub OwnedWriteHalf);
103 pub fn reunite(self, other: OwnedWriteHalf) -> Result<TcpStream, ReuniteError> { in reunite()
204 impl OwnedWriteHalf { impl
223 impl Drop for OwnedWriteHalf { implementation
231 impl AsyncWrite for OwnedWriteHalf { implementation
274 impl AsRef<TcpStream> for OwnedWriteHalf { implementation
Dmod.rs11 pub use split_owned::{OwnedReadHalf, OwnedWriteHalf, ReuniteError};
Dstream.rs4 use crate::net::tcp::split_owned::{split_owned, OwnedReadHalf, OwnedWriteHalf};
1011 pub fn into_split(self) -> (OwnedReadHalf, OwnedWriteHalf) { in into_split() argument
/external/rust/crates/tokio/
DCHANGELOG.md573 - net: fix non-portable behavior when dropping `TcpStream` `OwnedWriteHalf` ([#2597])