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: DirDirectionality for which streams have been opened
A currently open stream has data or errors waiting to be read
Show fields
Fields of Readable
id: StreamIdWhich 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: StreamIdWhich stream is now writable
A finished stream has been fully acknowledged or stopped
Show fields
Fields of Finished
id: StreamIdWhich 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: DirDirectionality for which streams are newly available
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StreamEvent
impl RefUnwindSafe for StreamEventimpl Send for StreamEvent
impl Send for StreamEventimpl Sync for StreamEvent
impl Sync for StreamEventimpl Unpin for StreamEvent
impl Unpin for StreamEventimpl UnwindSafe for StreamEvent
impl UnwindSafe for StreamEventBlanket 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>,