Struct lasso::LassoError
source · pub struct LassoError { /* private fields */ }
Expand description
An error encountered while using an interner
Implementations§
source§impl LassoError
impl LassoError
sourcepub const fn kind(&self) -> LassoErrorKind
pub const fn kind(&self) -> LassoErrorKind
Gets the kind of error that occurred
Trait Implementations§
source§impl Clone for LassoError
impl Clone for LassoError
source§fn clone(&self) -> LassoError
fn clone(&self) -> LassoError
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 LassoError
impl Debug for LassoError
source§impl Display for LassoError
impl Display for LassoError
source§impl Error for LassoError
impl Error for LassoError
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 Hash for LassoError
impl Hash for LassoError
source§impl PartialEq<LassoError> for LassoError
impl PartialEq<LassoError> for LassoError
source§fn eq(&self, other: &LassoError) -> bool
fn eq(&self, other: &LassoError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LassoError
impl StructuralEq for LassoError
impl StructuralPartialEq for LassoError
Auto Trait Implementations§
impl RefUnwindSafe for LassoError
impl Send for LassoError
impl Sync for LassoError
impl Unpin for LassoError
impl UnwindSafe for LassoError
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