pub enum LocalStream {
Unix(UnixStream),
}Variants§
Unix(UnixStream)
Implementations§
Source§impl LocalStream
impl LocalStream
pub fn into_split( self, ) -> (Box<dyn AsyncRead + Send + Unpin>, Box<dyn AsyncWrite + Send + Unpin>)
pub async fn write_all_bytes(&mut self, bytes: &[u8]) -> Result<()>
pub async fn read_exact_bytes(&mut self, bytes: &mut [u8]) -> Result<()>
Auto Trait Implementations§
impl !Freeze for LocalStream
impl RefUnwindSafe for LocalStream
impl Send for LocalStream
impl Sync for LocalStream
impl Unpin for LocalStream
impl UnsafeUnpin for LocalStream
impl UnwindSafe for LocalStream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more