pub struct RtnlNeighborClient { /* private fields */ }Implementations§
Source§impl RtnlNeighborClient
impl RtnlNeighborClient
pub fn add(&self, entry: NeighborEntry) -> Result<()>
pub fn change(&self, entry: NeighborEntry) -> Result<()>
pub fn delete(&self, entry: NeighborDelete) -> Result<()>
pub fn list(&self, if_id: Option<u32>) -> Result<Vec<NeighborEntry>>
pub fn get( &self, destination: IpAddr, if_id: Option<u32>, ) -> Result<NeighborEntry>
Trait Implementations§
Source§impl Clone for RtnlNeighborClient
impl Clone for RtnlNeighborClient
Source§fn clone(&self) -> RtnlNeighborClient
fn clone(&self) -> RtnlNeighborClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RtnlNeighborClient
impl Debug for RtnlNeighborClient
impl Eq for RtnlNeighborClient
Source§impl Hash for RtnlNeighborClient
impl Hash for RtnlNeighborClient
Source§impl PartialEq for RtnlNeighborClient
impl PartialEq for RtnlNeighborClient
impl StructuralPartialEq for RtnlNeighborClient
Auto Trait Implementations§
impl Freeze for RtnlNeighborClient
impl RefUnwindSafe for RtnlNeighborClient
impl Send for RtnlNeighborClient
impl Sync for RtnlNeighborClient
impl Unpin for RtnlNeighborClient
impl UnsafeUnpin for RtnlNeighborClient
impl UnwindSafe for RtnlNeighborClient
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