Struct distant_core::TransportListener[][src]

pub struct TransportListener<T> where
    T: DataStream
{ /* fields omitted */ }
Expand description

Represents a [Stream] consisting of newly-connected DataStream instances that have been wrapped in Transport

Implementations

Waits for the next fully-initialized transport for an incoming stream to be available, returning none if no longer accepting new connections

Converts into a stream of transport-wrapped connections

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.