Struct framecodecs::remote_addr::RemoteAddrProto [] [src]

pub struct RemoteAddrProto<C, Kind> { /* fields omitted */ }

A wrapper protocol provides remote address of connection. This protocol implements only ServerProto.

Methods

impl<C: Clone, Kind> RemoteAddrProto<C, Kind>
[src]

Trait Implementations

impl<C: Debug, Kind: Debug> Debug for RemoteAddrProto<C, Kind>
[src]

Formats the value using the given formatter.

impl<C: Clone, Kind: Clone> Clone for RemoteAddrProto<C, Kind>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Copy, Kind: Copy> Copy for RemoteAddrProto<C, Kind>
[src]

impl<C> ServerProto<TcpStream> for RemoteAddrProto<C, Pipeline> where C: Codec + 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<C, In, Out> ServerProto<TcpStream> for RemoteAddrProto<C, Multiplex> where C: Codec<In=(RequestId, In), Out=(RequestId, Out)> + Clone + 'static,
        In: 'static,
        Out: 'static
[src]

Request messages.

Response messages.

Errors produced by the service.

The message transport, which usually take T as a parameter. 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