pub enum SortError<S: Error, D: Error, I: Error> {
TempDir(Error),
ThreadPoolBuildError(ThreadPoolBuildError),
IO(Error),
SerializationError(S),
DeserializationError(D),
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(S)
Data serialization error.
DeserializationError(D)
Data deserialization error.
InputError(I)
Input data stream error
Trait Implementations§
source§impl<S, D, I> Error for SortError<S, D, I>where
S: Error + 'static,
D: Error + 'static,
I: Error + 'static,
impl<S, D, I> Error for SortError<S, D, I>where S: Error + 'static, D: Error + 'static, 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()