pub struct NotCurrentHolder;Expand description
A transition was attempted by something that is not the state’s current holder — a stale retainer, or a state (available, deferred, settled) with no holder at all.
Trait Implementations§
Source§impl Clone for NotCurrentHolder
impl Clone for NotCurrentHolder
Source§fn clone(&self) -> NotCurrentHolder
fn clone(&self) -> NotCurrentHolder
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 NotCurrentHolder
Source§impl Debug for NotCurrentHolder
impl Debug for NotCurrentHolder
Source§impl Display for NotCurrentHolder
impl Display for NotCurrentHolder
impl Eq for NotCurrentHolder
Source§impl Error for NotCurrentHolder
impl Error for NotCurrentHolder
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for NotCurrentHolder
impl PartialEq for NotCurrentHolder
impl StructuralPartialEq for NotCurrentHolder
Auto Trait Implementations§
impl Freeze for NotCurrentHolder
impl RefUnwindSafe for NotCurrentHolder
impl Send for NotCurrentHolder
impl Sync for NotCurrentHolder
impl Unpin for NotCurrentHolder
impl UnsafeUnpin for NotCurrentHolder
impl UnwindSafe for NotCurrentHolder
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