pub enum ControlEvent<'a> {
NeedInput,
Shallow(ObjectId),
Command(Command<'a>),
Options,
PushOption(&'a [u8]),
End {
pack_required: bool,
},
}Variants§
NeedInput
Shallow(ObjectId)
Command(Command<'a>)
Options
The command flush was read; negotiated push options follow next.
PushOption(&'a [u8])
End
The input suffix is untouched. Pass it to pack decoding when required.
Trait Implementations§
Source§impl<'a> Clone for ControlEvent<'a>
impl<'a> Clone for ControlEvent<'a>
impl<'a> Copy for ControlEvent<'a>
Source§impl<'a> Debug for ControlEvent<'a>
impl<'a> Debug for ControlEvent<'a>
impl<'a> Eq for ControlEvent<'a>
Source§impl<'a> PartialEq for ControlEvent<'a>
impl<'a> PartialEq for ControlEvent<'a>
impl<'a> StructuralPartialEq for ControlEvent<'a>
Auto Trait Implementations§
impl<'a> Freeze for ControlEvent<'a>
impl<'a> RefUnwindSafe for ControlEvent<'a>
impl<'a> Send for ControlEvent<'a>
impl<'a> Sync for ControlEvent<'a>
impl<'a> Unpin for ControlEvent<'a>
impl<'a> UnsafeUnpin for ControlEvent<'a>
impl<'a> UnwindSafe for ControlEvent<'a>
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