pub struct LifespanError(/* private fields */);Expand description
A lifespan that cannot be represented.
Trait Implementations§
Source§impl Clone for LifespanError
impl Clone for LifespanError
Source§impl Debug for LifespanError
impl Debug for LifespanError
Source§impl Display for LifespanError
impl Display for LifespanError
impl Eq for LifespanError
Source§impl Error for LifespanError
impl Error for LifespanError
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 LifespanError
impl PartialEq for LifespanError
impl StructuralPartialEq for LifespanError
Auto Trait Implementations§
impl Freeze for LifespanError
impl RefUnwindSafe for LifespanError
impl Send for LifespanError
impl Sync for LifespanError
impl Unpin for LifespanError
impl UnsafeUnpin for LifespanError
impl UnwindSafe for LifespanError
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