pub enum ActionCancelError {
Idle,
CutoffPassed,
Active,
Recovery,
}Expand description
Why an interruption was rejected by ActionTimeline::check_cancel or
ActionTimeline::try_cancel. A rejection leaves the timeline unchanged.
Variants§
Idle
No action is running, even if cancellation was forced.
CutoffPassed
Windup has advanced strictly past the authored cancellation cutoff.
Active
The action is active; cancellation requires force = true.
Recovery
The action is recovering; cancellation requires force = true.
Trait Implementations§
Source§impl Clone for ActionCancelError
impl Clone for ActionCancelError
Source§fn clone(&self) -> ActionCancelError
fn clone(&self) -> ActionCancelError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionCancelError
impl Debug for ActionCancelError
Source§impl PartialEq for ActionCancelError
impl PartialEq for ActionCancelError
impl Copy for ActionCancelError
impl Eq for ActionCancelError
impl StructuralPartialEq for ActionCancelError
Auto Trait Implementations§
impl Freeze for ActionCancelError
impl RefUnwindSafe for ActionCancelError
impl Send for ActionCancelError
impl Sync for ActionCancelError
impl Unpin for ActionCancelError
impl UnwindSafe for ActionCancelError
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