pub struct RecvHalf<'a>(_);
Expand description
Borrowed receive half of a UnixDatagram
, created by split
.
Implementations
Trait Implementations
sourceimpl AsRef<UnixDatagram> for RecvHalf<'_>
impl AsRef<UnixDatagram> for RecvHalf<'_>
sourcefn as_ref(&self) -> &UnixDatagram
fn as_ref(&self) -> &UnixDatagram
Performs the conversion.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RecvHalf<'a>
impl<'a> Send for RecvHalf<'a>
impl<'a> Sync for RecvHalf<'a>
impl<'a> Unpin for RecvHalf<'a>
impl<'a> !UnwindSafe for RecvHalf<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more