pub struct StackError { /* private fields */ }Expand description
Why a string is not a CameraStack.
ron’s own SpannedError reduced to the three
things a person fixing the file needs — where, and what — so a caller
reporting it does not have to depend on ron’s types. The message is ron’s
verbatim, which is what carries the offending field’s name.
Implementations§
Trait Implementations§
Source§impl Clone for StackError
impl Clone for StackError
Source§impl Debug for StackError
impl Debug for StackError
Source§impl Display for StackError
impl Display for StackError
impl Eq 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 PartialEq for StackError
impl PartialEq for StackError
impl StructuralPartialEq for StackError
Auto Trait Implementations§
impl Forget for StackError
impl Freeze for StackError
impl RefUnwindSafe for StackError
impl Send for StackError
impl Sync for StackError
impl Unpin for StackError
impl UnsafeUnpin 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