pub struct InvalidStateError<V> { /* private fields */ }Expand description
An error which denotes that an invalid state was encountered.
Trait Implementations§
Source§impl<V: Debug> Debug for InvalidStateError<V>
impl<V: Debug> Debug for InvalidStateError<V>
Source§impl<V> Display for InvalidStateError<V>where
V: BoardValue,
impl<V> Display for InvalidStateError<V>where
V: BoardValue,
Source§impl<V> Error for InvalidStateError<V>where
V: BoardValue,
impl<V> Error for InvalidStateError<V>where
V: BoardValue,
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()
Auto Trait Implementations§
impl<V> Freeze for InvalidStateError<V>where
V: Freeze,
impl<V> RefUnwindSafe for InvalidStateError<V>where
V: RefUnwindSafe,
impl<V> Send for InvalidStateError<V>where
V: Send,
impl<V> Sync for InvalidStateError<V>where
V: Sync,
impl<V> Unpin for InvalidStateError<V>where
V: Unpin,
impl<V> UnsafeUnpin for InvalidStateError<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for InvalidStateError<V>where
V: UnwindSafe,
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