pub struct SocketDevice;
Expand description
Device type marker for crate::File
instances that represent sockets.
In practice there should not typically be a File<SocketDevice>
directly,
but instead should use a protocol-specific device type that also has a
blanket impl to make all of the SocketDevice
ioctl requests available
too.
Trait Implementations§
impl IoDevice for SocketDevice
impl SubDevice<SocketDevice> for Ipv4SocketDevice
impl SubDevice<SocketDevice> for Ipv6SocketDevice
impl SubDevice<SocketDevice> for TcpSocketDevice
Auto Trait Implementations§
impl Freeze for SocketDevice
impl RefUnwindSafe for SocketDevice
impl Send for SocketDevice
impl Sync for SocketDevice
impl Unpin for SocketDevice
impl UnwindSafe for SocketDevice
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