Enum quinn_proto::StreamEvent [−][src]
pub enum StreamEvent { Opened { dir: Dir, }, Readable { id: StreamId, }, Writable { id: StreamId, }, Finished { id: StreamId, }, Stopped { id: StreamId, error_code: VarInt, }, Available { dir: Dir, }, }
Application events about streams
Variants
One or more new streams has been opened
Show fields
Fields of Opened
dir: Dir
Directionality for which streams have been opened
A currently open stream has data or errors waiting to be read
Show fields
Fields of Readable
id: StreamId
Which stream is now readable
A formerly write-blocked stream might be ready for a write or have been stopped
Only generated for streams that are currently open.
Show fields
Fields of Writable
id: StreamId
Which stream is now writable
A finished stream has been fully acknowledged or stopped
Show fields
Fields of Finished
id: StreamId
Which stream has been finished
The peer asked us to stop sending on an outgoing stream
Show fields
At least one new stream of a certain directionality may be opened
Show fields
Fields of Available
dir: Dir
Directionality for which streams are newly available
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StreamEvent
impl RefUnwindSafe for StreamEvent
impl Send for StreamEvent
impl Send for StreamEvent
impl Sync for StreamEvent
impl Sync for StreamEvent
impl Unpin for StreamEvent
impl Unpin for StreamEvent
impl UnwindSafe for StreamEvent
impl UnwindSafe for StreamEvent
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,