pub enum ControlEvent {
Start {
exchange: ExchangeId,
flow: Flow,
metadata: Option<ChunkDescriptor>,
},
Data(ChunkDescriptor),
Fin {
exchange: ExchangeId,
flow: Flow,
},
Reset {
exchange: ExchangeId,
flow: Flow,
code: ResetCode,
},
}Expand description
A lossless control-plane event. Payload bytes live in the arena named by the descriptor and never in this frame.
Variants§
Implementations§
Source§impl ControlEvent
impl ControlEvent
Trait Implementations§
Source§impl Clone for ControlEvent
impl Clone for ControlEvent
impl Copy for ControlEvent
Source§impl Debug for ControlEvent
impl Debug for ControlEvent
impl Eq for ControlEvent
Source§impl PartialEq for ControlEvent
impl PartialEq for ControlEvent
impl StructuralPartialEq for ControlEvent
Auto Trait Implementations§
impl Freeze for ControlEvent
impl RefUnwindSafe for ControlEvent
impl Send for ControlEvent
impl Sync for ControlEvent
impl Unpin for ControlEvent
impl UnsafeUnpin for ControlEvent
impl UnwindSafe for ControlEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more