Struct framecodecs::delimiter::DelimiterProto [] [src]

pub struct DelimiterProto<D>(_);

A protocol such that frames are separated with specified delimiters.

Methods

impl<D: Delimiter> DelimiterProto<D>
[src]

Creates a DelimiterProto from the specified delimiter.

Trait Implementations

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

Formats the value using the given formatter.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D: Copy> Copy for DelimiterProto<D>
[src]

impl<D: PartialEq> PartialEq for DelimiterProto<D>
[src]

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

This method tests for !=.

impl<D: Eq> Eq for DelimiterProto<D>
[src]

impl<T, D> ServerProto<T> for DelimiterProto<D> where T: Io + 'static,
        D: Delimiter + Clone + 'static
[src]

Request messages.

Response messages.

Errors produced by the service.

The message transport, which works with I/O objects of type T. Read more

A future for initializing a transport from an I/O object. Read more

Build a transport from the given I/O object, using self for any configuration. Read more

impl<T: Io, D> ClientProto<T> for DelimiterProto<D> where T: Io + 'static,
        D: Delimiter + Clone + 'static
[src]

Request messages.

Response messages.

Errors produced by the service.

The message transport, which works with I/O objects of type T. Read more

A future for initializing a transport from an I/O object. Read more

Build a transport from the given I/O object, using self for any configuration. Read more