pub struct SocketProtocolFixed<Device: IoDevice> { /* private fields */ }
Expand description
A reasonable default implementation of SocketProtocol
with a fixed
protocol number and device type.
This is the return type of socket_protocol
.
Trait Implementations§
Source§impl<Device: IoDevice> SocketProtocol for SocketProtocolFixed<Device>
impl<Device: IoDevice> SocketProtocol for SocketProtocolFixed<Device>
Auto Trait Implementations§
impl<Device> Freeze for SocketProtocolFixed<Device>
impl<Device> RefUnwindSafe for SocketProtocolFixed<Device>where
Device: RefUnwindSafe,
impl<Device> Send for SocketProtocolFixed<Device>where
Device: Send,
impl<Device> Sync for SocketProtocolFixed<Device>where
Device: Sync,
impl<Device> Unpin for SocketProtocolFixed<Device>where
Device: Unpin,
impl<Device> UnwindSafe for SocketProtocolFixed<Device>where
Device: UnwindSafe,
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