pub struct StateError { /* private fields */ }
Expand description
Error thrown when the operation wasn’t allowed by the current state of the object.
Implementations§
Source§impl StateError
impl StateError
Source§impl StateError
impl StateError
Trait Implementations§
Source§impl Debug for StateError
impl Debug for StateError
Source§impl From<StateError> for DartError
impl From<StateError> for DartError
Source§fn from(err: StateError) -> Self
fn from(err: StateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StateError
impl RefUnwindSafe for StateError
impl Send for StateError
impl Sync for StateError
impl Unpin for StateError
impl UnwindSafe for StateError
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