#[non_exhaustive]pub enum CancelPoint {
Entry,
Step(TmdsStep),
RatioWait,
Check,
}Expand description
Where a bring-up saw the caller’s cancel flag.
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.
Entry
At entry, before any I/O.
Step(TmdsStep)
Before an SCDC step.
RatioWait
During the ratio wait, before one of its slices.
Check
During the scrambling check, before a read.
Trait Implementations§
Source§impl Clone for CancelPoint
impl Clone for CancelPoint
Source§fn clone(&self) -> CancelPoint
fn clone(&self) -> CancelPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CancelPoint
Source§impl Debug for CancelPoint
impl Debug for CancelPoint
impl Eq for CancelPoint
Source§impl Hash for CancelPoint
impl Hash for CancelPoint
Source§impl PartialEq for CancelPoint
impl PartialEq for CancelPoint
impl StructuralPartialEq for CancelPoint
Auto Trait Implementations§
impl Forget for CancelPoint
impl Freeze for CancelPoint
impl Move for CancelPoint
impl RefUnwindSafe for CancelPoint
impl Send for CancelPoint
impl Sync for CancelPoint
impl Unpin for CancelPoint
impl UnsafeUnpin for CancelPoint
impl UnwindSafe for CancelPoint
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