pub struct ExpectedSpanError(/* private fields */);Expand description
Error returned by Tree::span.
Trait Implementations§
Source§impl Debug for ExpectedSpanError
impl Debug for ExpectedSpanError
Source§impl Display for ExpectedSpanError
impl Display for ExpectedSpanError
Source§impl Error for ExpectedSpanError
impl Error for ExpectedSpanError
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 ExpectedSpanError
impl RefUnwindSafe for ExpectedSpanError
impl Send for ExpectedSpanError
impl Sync for ExpectedSpanError
impl Unpin for ExpectedSpanError
impl UnsafeUnpin for ExpectedSpanError
impl UnwindSafe for ExpectedSpanError
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