pub struct Handle(_);
Implementations
sourceimpl Handle
impl Handle
pub fn request(
&mut self,
message: NetlinkMessage
) -> impl Stream<Item = NetlinkMessage, Error = Error>
pub fn notify(&mut self, msg: NetlinkMessage) -> Result<(), Error>
sourcepub fn link(&self) -> LinkHandle
pub fn link(&self) -> LinkHandle
Create a new handle, specifically for link requests (equivalent to ip link
commands)
sourcepub fn address(&self) -> AddressHandle
pub fn address(&self) -> AddressHandle
Create a new handle, specifically for address requests (equivalent to ip addr
commands)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl !UnwindSafe for Handle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more