pub enum LinkedListError {
TryLockError(String),
IteratorNotInList,
Empty,
BadData,
}
Variants§
TryLockError(String)
Try mutex lock failed
IteratorNotInList
Iterator is not in specified LinkedList
Empty
LinkedList or iterator is empty
BadData
LinkedList inner bad data
Trait Implementations§
Source§impl Debug for LinkedListError
impl Debug for LinkedListError
Source§impl Display for LinkedListError
impl Display for LinkedListError
Source§impl Error for LinkedListError
impl Error for LinkedListError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl<'a, T> From<PoisonError<T>> for LinkedListError
impl<'a, T> From<PoisonError<T>> for LinkedListError
Source§fn from(err: PoisonError<T>) -> Self
fn from(err: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl<'a, T> From<TryLockError<T>> for LinkedListError
impl<'a, T> From<TryLockError<T>> for LinkedListError
Source§fn from(err: TryLockError<T>) -> Self
fn from(err: TryLockError<T>) -> Self
Converts to this type from the input type.
Source§impl Ord for LinkedListError
impl Ord for LinkedListError
Source§fn cmp(&self, other: &LinkedListError) -> Ordering
fn cmp(&self, other: &LinkedListError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LinkedListError
impl PartialEq for LinkedListError
Source§impl PartialOrd for LinkedListError
impl PartialOrd for LinkedListError
impl Eq for LinkedListError
impl StructuralPartialEq for LinkedListError
Auto Trait Implementations§
impl Freeze for LinkedListError
impl RefUnwindSafe for LinkedListError
impl Send for LinkedListError
impl Sync for LinkedListError
impl Unpin for LinkedListError
impl UnwindSafe for LinkedListError
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