Struct protocol::wire::stream::Connection [−][src]
pub struct Connection<P: Parcel, S: Read + Write, M: Pipeline = Default> {
pub stream: S,
pub transport: Simple,
pub middleware: M,
pub settings: Settings,
pub _a: PhantomData<P>,
}
Expand description
A stream-based connection.
Fields
stream: S
transport: Simple
middleware: M
settings: Settings
_a: PhantomData<P>
Implementations
Processes any incoming data in the stream.
Attempts to receive a packet.