Struct rtnetlink::ErrorBuffer[][src]

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

Methods

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

Consume the packet, returning the underlying buffer.

Return the error code

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

Return a pointer to the payload.

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

Return a mutable pointer to the payload.

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

set the error code field

Trait Implementations

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

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for ErrorBuffer<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 ErrorBuffer<T>
[src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Deserialize the current type.

Auto Trait Implementations

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

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