pub enum StackError {
Wall,
Cap,
}
Variants§
Trait Implementations§
Source§impl Clone for StackError
impl Clone for StackError
Source§fn clone(&self) -> StackError
fn clone(&self) -> StackError
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 StackError
impl Debug for StackError
Source§impl Display for StackError
impl Display for StackError
Source§impl Error for StackError
impl Error for StackError
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 From<StackError> for PlayError
impl From<StackError> for PlayError
Source§fn from(e: StackError) -> Self
fn from(e: StackError) -> Self
Converts to this type from the input type.
Source§impl Ord for StackError
impl Ord for StackError
Source§fn cmp(&self, other: &StackError) -> Ordering
fn cmp(&self, other: &StackError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StackError
impl PartialEq for StackError
Source§impl PartialOrd for StackError
impl PartialOrd for StackError
impl Copy for StackError
impl Eq for StackError
impl StructuralPartialEq for StackError
Auto Trait Implementations§
impl Freeze for StackError
impl RefUnwindSafe for StackError
impl Send for StackError
impl Sync for StackError
impl Unpin for StackError
impl UnwindSafe for StackError
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