Struct base::sys::linux::NetlinkGenericSocket
source · pub struct NetlinkGenericSocket {
sock: SafeDescriptor,
}
Expand description
Safe wrapper for NETLINK_GENERIC
netlink sockets.
Fields§
§sock: SafeDescriptor
Implementations§
source§impl NetlinkGenericSocket
impl NetlinkGenericSocket
sourcepub fn recv(&self) -> Result<NetlinkGenericRead>
pub fn recv(&self) -> Result<NetlinkGenericRead>
Receive messages from the netlink socket.
pub fn family_name_query( &self, family_name: String ) -> Result<NetlinkGenericRead>
Trait Implementations§
source§impl AsRawDescriptor for NetlinkGenericSocket
impl AsRawDescriptor for NetlinkGenericSocket
source§fn as_raw_descriptor(&self) -> RawDescriptor
fn as_raw_descriptor(&self) -> RawDescriptor
Returns the underlying raw descriptor. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NetlinkGenericSocket
impl Send for NetlinkGenericSocket
impl Sync for NetlinkGenericSocket
impl Unpin for NetlinkGenericSocket
impl UnwindSafe for NetlinkGenericSocket
Blanket Implementations§
source§impl<T> AsRawDescriptors for Twhere
T: AsRawDescriptor,
impl<T> AsRawDescriptors for Twhere
T: AsRawDescriptor,
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