Home
last modified time | relevance | path

Searched refs:OwnedReadHalf (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/tokio/src/net/unix/
Dsplit_owned.rs30 pub struct OwnedReadHalf { struct
54 pub(crate) fn split_owned(stream: UnixStream) -> (OwnedReadHalf, OwnedWriteHalf) { in split_owned() argument
56 let read = OwnedReadHalf { in split_owned()
67 read: OwnedReadHalf, in reunite() argument
83 pub struct ReuniteError(pub OwnedReadHalf, pub OwnedWriteHalf);
96 impl OwnedReadHalf { implementation
107 impl AsyncRead for OwnedReadHalf { implementation
123 pub fn reunite(self, other: OwnedReadHalf) -> Result<UnixStream, ReuniteError> { in reunite()
181 impl AsRef<UnixStream> for OwnedReadHalf { 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.rs31 pub struct OwnedReadHalf { struct
55 pub(crate) fn split_owned(stream: TcpStream) -> (OwnedReadHalf, OwnedWriteHalf) { in split_owned() argument
57 let read = OwnedReadHalf { in split_owned()
68 read: OwnedReadHalf, in reunite() argument
84 pub struct ReuniteError(pub OwnedReadHalf, pub OwnedWriteHalf);
97 impl OwnedReadHalf { impl
194 impl AsyncRead for OwnedReadHalf { implementation
210 pub fn reunite(self, other: OwnedReadHalf) -> Result<TcpStream, ReuniteError> { in reunite()
268 impl AsRef<TcpStream> for OwnedReadHalf { 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