Struct distant_net::common::UnixSocketTransport
source · pub struct UnixSocketTransport { /* private fields */ }Expand description
Represents a Transport that leverages a Unix socket
Implementations
Trait Implementations
sourceimpl Debug for UnixSocketTransport
impl Debug for UnixSocketTransport
sourceimpl Reconnectable for UnixSocketTransport
impl Reconnectable for UnixSocketTransport
sourceimpl Transport for UnixSocketTransport
impl Transport for UnixSocketTransport
sourcefn try_read(&self, buf: &mut [u8]) -> Result<usize>
fn try_read(&self, buf: &mut [u8]) -> Result<usize>
Tries to read data from the transport into the provided buffer, returning how many bytes
were read. Read more
Auto Trait Implementations
impl RefUnwindSafe for UnixSocketTransport
impl Send for UnixSocketTransport
impl Sync for UnixSocketTransport
impl Unpin for UnixSocketTransport
impl UnwindSafe for UnixSocketTransport
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more