Struct protocol::wire::dgram::Pipeline [−][src]
pub struct Pipeline<P: Parcel, M: Pipeline> {
pub middleware: M,
pub settings: Settings,
// some fields omitted
}
Expand description
A datagram-based packet pipeline.
Fields
middleware: M
settings: Settings
Implementations
Reads a packet from a buffer which contains a single packet.
Trait Implementations
Auto Trait Implementations
impl<P, M> RefUnwindSafe for Pipeline<P, M> where
M: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, M> UnwindSafe for Pipeline<P, M> where
M: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more