#[non_exhaustive]pub enum ControlledEvent {
Decode(Event),
Suspended(DecodeBoundary),
}Expand description
A controlled decoder’s observable progress. A suspension is never completion.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Decode(Event)
Ordinary metadata, rows or completed output.
Suspended(DecodeBoundary)
A required decision before affected native or sink work can continue.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ControlledEvent
impl RefUnwindSafe for ControlledEvent
impl Send for ControlledEvent
impl Sync for ControlledEvent
impl Unpin for ControlledEvent
impl UnsafeUnpin for ControlledEvent
impl UnwindSafe for ControlledEvent
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