pub enum SortError<I: Error> {
TempDir(Error),
ThreadPoolBuildError(ThreadPoolBuildError),
IO(Error),
SerializationError(Error),
DeserializationError(Error),
InputError(I),
}Expand description
Sorting error.
Variants§
TempDir(Error)
Temporary directory or file creation error.
ThreadPoolBuildError(ThreadPoolBuildError)
Workers thread pool initialization error.
IO(Error)
Common I/O error.
SerializationError(Error)
Data serialization error.
DeserializationError(Error)
Data deserialization error.
InputError(I)
Input data stream error
Trait Implementations§
source§impl<I> Error for SortError<I>where
I: Error + 'static,
impl<I> Error for SortError<I>where
I: Error + 'static,
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()
Auto Trait Implementations§
impl<I> Freeze for SortError<I>where
I: Freeze,
impl<I> !RefUnwindSafe for SortError<I>
impl<I> Send for SortError<I>where
I: Send,
impl<I> Sync for SortError<I>where
I: Sync,
impl<I> Unpin for SortError<I>where
I: Unpin,
impl<I> !UnwindSafe for SortError<I>
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<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.