Enum openmls::treesync::errors::LifetimeError
source · pub enum LifetimeError {
RangeTooBig,
NotCurrent,
}
Expand description
Errors that can happen during lifetime validation.
Variants§
Trait Implementations§
source§impl Clone for LifetimeError
impl Clone for LifetimeError
source§fn clone(&self) -> LifetimeError
fn clone(&self) -> LifetimeError
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 LifetimeError
impl Debug for LifetimeError
source§impl Display for LifetimeError
impl Display for LifetimeError
source§impl Error for LifetimeError
impl Error for LifetimeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<LifetimeError> for LifetimeError
impl PartialEq<LifetimeError> for LifetimeError
source§fn eq(&self, other: &LifetimeError) -> bool
fn eq(&self, other: &LifetimeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LifetimeError
impl StructuralEq for LifetimeError
impl StructuralPartialEq for LifetimeError
Auto Trait Implementations§
impl RefUnwindSafe for LifetimeError
impl Send for LifetimeError
impl Sync for LifetimeError
impl Unpin for LifetimeError
impl UnwindSafe for LifetimeError
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