[−][src]Enum hashed_permutation::PermutationError
The different types of errors that can arise from this crate
Variants
This error is invoked when the caller attempts to use an index on the shuffle
method that
is larger than the size of the set.
The user can only shuffle indices that are within the set, otherwise the hashing algorithm
does not work. shuffle
is the index that the user called, and max_shuffle
is the size
of the permutation set (which is also the upper bound for the calling index).
Trait Implementations
impl Debug for PermutationError
[src]
impl Display for PermutationError
[src]
impl Error for PermutationError
[src]
Auto Trait Implementations
impl RefUnwindSafe for PermutationError
impl Send for PermutationError
impl Sync for PermutationError
impl Unpin for PermutationError
impl UnwindSafe for PermutationError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,