Struct fibers_transport::TcpListenerBuilder[][src]

pub struct TcpListenerBuilder<E, D> { /* fields omitted */ }

TcpListener builder.

Methods

impl<E, D> TcpListenerBuilder<E, D> where
    E: Factory + Default,
    D: Factory + Default,
    E::Item: Encode,
    D::Item: Decode
[src]

Makes a new TcpListenerBuilder instance with the default settings.

impl<E, D> TcpListenerBuilder<E, D> where
    E: Factory,
    D: Factory,
    E::Item: Encode,
    D::Item: Decode
[src]

Makes a new TcpListenerBuilder instance with the given encoder and decoder factories.

Builds a new TcpListener instance from the given RawTcpListener.

Builds a new TcpListener instance that binds to and listens in the given address.

Trait Implementations

impl<E: Debug, D: Debug> Debug for TcpListenerBuilder<E, D>
[src]

Formats the value using the given formatter. Read more

impl<E, D> Default for TcpListenerBuilder<E, D> where
    E: Factory + Default,
    D: Factory + Default,
    E::Item: Encode,
    D::Item: Decode
[src]

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

Auto Trait Implementations

impl<E, D> Send for TcpListenerBuilder<E, D> where
    D: Send,
    E: Send

impl<E, D> Sync for TcpListenerBuilder<E, D> where
    D: Sync,
    E: Sync