pub enum MarisaError {
Show 13 variants
StateError,
NullError,
BoundError,
RangeError,
CodeError,
ResetError,
SizeError,
MemoryError,
IoError,
FormatError,
KeyNotFound,
NoResults,
Utf8Error(Utf8Error),
}Expand description
Error type for Marisa operations
Variants§
StateError
NullError
BoundError
RangeError
CodeError
ResetError
SizeError
MemoryError
IoError
FormatError
KeyNotFound
NoResults
Utf8Error(Utf8Error)
Trait Implementations§
Source§impl Clone for MarisaError
impl Clone for MarisaError
Source§fn clone(&self) -> MarisaError
fn clone(&self) -> MarisaError
Returns a duplicate 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 MarisaError
impl Debug for MarisaError
Source§impl Display for MarisaError
impl Display for MarisaError
Source§impl Error for MarisaError
impl Error for MarisaError
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 MarisaError
impl PartialEq for MarisaError
impl Eq for MarisaError
impl StructuralPartialEq for MarisaError
Auto Trait Implementations§
impl Freeze for MarisaError
impl RefUnwindSafe for MarisaError
impl Send for MarisaError
impl Sync for MarisaError
impl Unpin for MarisaError
impl UnwindSafe for MarisaError
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