pub struct StackOverflow;
Expand description
Stack overflow.
This type is meant to be used in Result::Err
variants.
Trait Implementations§
Source§impl Clone for StackOverflow
impl Clone for StackOverflow
Source§fn clone(&self) -> StackOverflow
fn clone(&self) -> StackOverflow
Returns a copy 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 StackOverflow
impl Debug for StackOverflow
Source§impl Default for StackOverflow
impl Default for StackOverflow
Source§fn default() -> StackOverflow
fn default() -> StackOverflow
Returns the “default value” for a type. Read more
Source§impl Display for StackOverflow
impl Display for StackOverflow
Source§impl Error for StackOverflow
impl Error for StackOverflow
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 Hash for StackOverflow
impl Hash for StackOverflow
Source§impl Ord for StackOverflow
impl Ord for StackOverflow
Source§fn cmp(&self, other: &StackOverflow) -> Ordering
fn cmp(&self, other: &StackOverflow) -> 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 StackOverflow
impl PartialEq for StackOverflow
Source§impl PartialOrd for StackOverflow
impl PartialOrd for StackOverflow
impl Copy for StackOverflow
impl Eq for StackOverflow
impl StructuralPartialEq for StackOverflow
Auto Trait Implementations§
impl Freeze for StackOverflow
impl RefUnwindSafe for StackOverflow
impl Send for StackOverflow
impl Sync for StackOverflow
impl Unpin for StackOverflow
impl UnwindSafe for StackOverflow
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