Struct framecodecs::delimiter::DelimiterCodec [] [src]

pub struct DelimiterCodec<D>(_);

Protocol codec used by DelimiterProto.

Methods

impl<D> DelimiterCodec<D>
[src]

Trait Implementations

impl<D: Debug> Debug for DelimiterCodec<D>
[src]

Formats the value using the given formatter.

impl<D: Clone> Clone for DelimiterCodec<D>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D> Codec for DelimiterCodec<D> where D: Delimiter + Clone
[src]

The type of decoded frames.

The type of frames to be encoded.

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

Encodes a frame into the buffer provided. 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