pub enum AlgorithmenError {
NotEnoughSpace,
NoElementLeft,
ItemToBigForBin,
}Expand description
Errors for AlgorithmenFirst
Variants§
NotEnoughSpace
Bin has for the packages not enough space left {0}
NoElementLeft
No Element was found in the list, should not be possible
ItemToBigForBin
Item was to big for item
Trait Implementations§
Source§impl Debug for AlgorithmenError
impl Debug for AlgorithmenError
Source§impl Display for AlgorithmenError
impl Display for AlgorithmenError
Source§impl Error for AlgorithmenError
impl Error for AlgorithmenError
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 Ord for AlgorithmenError
impl Ord for AlgorithmenError
Source§fn cmp(&self, other: &AlgorithmenError) -> Ordering
fn cmp(&self, other: &AlgorithmenError) -> Ordering
1.21.0 (const: unstable) · 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 AlgorithmenError
impl PartialEq for AlgorithmenError
Source§fn eq(&self, other: &AlgorithmenError) -> bool
fn eq(&self, other: &AlgorithmenError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AlgorithmenError
impl PartialOrd for AlgorithmenError
impl Eq for AlgorithmenError
impl StructuralPartialEq for AlgorithmenError
Auto Trait Implementations§
impl Freeze for AlgorithmenError
impl RefUnwindSafe for AlgorithmenError
impl Send for AlgorithmenError
impl Sync for AlgorithmenError
impl Unpin for AlgorithmenError
impl UnsafeUnpin for AlgorithmenError
impl UnwindSafe for AlgorithmenError
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
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more