Struct rtnetlink::LinkBuffer[][src]

pub struct LinkBuffer<T> { /* fields omitted */ }

Methods

impl<T: AsRef<[u8]>> LinkBuffer<T>
[src]

Consume the packet, returning the underlying buffer.

Return the address family field

Return the link layer type field

Return the link layer type field

Return the link index field

Return the flags field

Return the link index field

impl<'a, T: AsRef<[u8]> + ?Sized> LinkBuffer<&'a T>
[src]

Return a pointer to the payload.

impl<'a, T: AsRef<[u8]> + AsMut<[u8]> + ?Sized> LinkBuffer<&'a mut T>
[src]

Return a mutable pointer to the payload.

impl<T: AsRef<[u8]> + AsMut<[u8]>> LinkBuffer<T>
[src]

set the address family field

Trait Implementations

impl<T: Debug> Debug for LinkBuffer<T>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for LinkBuffer<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for LinkBuffer<T>
[src]

impl<T: Clone> Clone for LinkBuffer<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: AsRef<[u8]>> Parseable<LinkHeader> for LinkBuffer<T>
[src]

Deserialize the current type.

impl<'buffer, T: AsRef<[u8]> + 'buffer> Parseable<LinkMessage> for LinkBuffer<&'buffer T>
[src]

Deserialize the current type.

impl<'buffer, T: AsRef<[u8]> + 'buffer> Parseable<Vec<LinkNla>> for LinkBuffer<&'buffer T>
[src]

Deserialize the current type.

Auto Trait Implementations

impl<T> Send for LinkBuffer<T> where
    T: Send

impl<T> Sync for LinkBuffer<T> where
    T: Sync