pub struct StackOverflow {
pub depth: usize,
pub max_depth: usize,
}Expand description
Stack overflow error.
Fields§
§depth: usizeCurrent depth when overflow occurred.
max_depth: usizeMaximum allowed depth.
Trait Implementations§
Source§impl Clone for StackOverflow
impl Clone for StackOverflow
Source§fn clone(&self) -> StackOverflow
fn clone(&self) -> StackOverflow
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 StackOverflow
impl Debug for StackOverflow
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()
Auto Trait Implementations§
impl Freeze for StackOverflow
impl RefUnwindSafe for StackOverflow
impl Send for StackOverflow
impl Sync for StackOverflow
impl Unpin for StackOverflow
impl UnsafeUnpin 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