Struct netlink_sys::NetlinkCodec[][src]

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

Methods

impl<T> NetlinkCodec<T>
[src]

Trait Implementations

impl Decoder for NetlinkCodec<Message>
[src]

The type of decoded frames.

The type of unrecoverable frame decoding errors. Read more

Attempts to decode a frame from the provided buffer of bytes. Read more

A default method available to be called when there are no more bytes available to be read from the underlying I/O. Read more

Provides a Stream and Sink interface for reading and writing to this Io object, using Decode and Encode to read and write the raw data. Read more

impl Encoder for NetlinkCodec<Message>
[src]

The type of items consumed by the Encoder

The type of encoding errors. Read more

Encodes a frame into the buffer provided. Read more

impl<T> Default for NetlinkCodec<T>
[src]

Returns the "default value" for a type. Read more

impl Decoder for NetlinkCodec<NetlinkBuffer<Vec<u8>>>
[src]

The type of decoded frames.

The type of unrecoverable frame decoding errors. Read more

Attempts to decode a frame from the provided buffer of bytes. Read more

A default method available to be called when there are no more bytes available to be read from the underlying I/O. Read more

Provides a Stream and Sink interface for reading and writing to this Io object, using Decode and Encode to read and write the raw data. Read more

impl<T: AsRef<[u8]>> Encoder for NetlinkCodec<NetlinkBuffer<T>>
[src]

The type of items consumed by the Encoder

The type of encoding errors. Read more

Encodes a frame into the buffer provided. Read more

Auto Trait Implementations

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

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