pub struct UdpSockRef<'a>(/* private fields */);
Expand description
A borrowed UDP socket
On Unix, constructible via From<T: AsFd>
. On Windows, constructible via From<T: AsSocket>
.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UdpSockRef<'a>
impl<'a> RefUnwindSafe for UdpSockRef<'a>
impl<'a> Send for UdpSockRef<'a>
impl<'a> Sync for UdpSockRef<'a>
impl<'a> Unpin for UdpSockRef<'a>
impl<'a> UnwindSafe for UdpSockRef<'a>
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