[][src]Struct rtnetlink::NeighbourAddRequest

pub struct NeighbourAddRequest { /* fields omitted */ }

Implementations

impl NeighbourAddRequest[src]

pub fn state(mut self: Self, state: u16) -> Self[src]

Set a bitmask of states for the neighbor cache entry. It should be a combination of NUD_* constants.

pub fn flags(mut self: Self, flags: u8) -> Self[src]

Set flags for the neighbor cache entry. It should be a combination of NTF_* constants.

pub fn ntype(mut self: Self, ntype: u8) -> Self[src]

Set attributes applicable to the the neighbor cache entry. It should be one of NDA_* constants.

Set a neighbor cache link layer address (see NDA_LLADDR for details).

pub async fn execute(self) -> Result<(), Error>[src]

Execute the request.

pub fn message_mut(&mut self) -> &mut NeighbourMessage[src]

Return a mutable reference to the request message.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.