pub enum SorterError {
Io(FsError),
Encode(String),
Decode(String),
RunLimit,
SessionFailed,
Gone,
}Expand description
An error raised while admitting, spilling, reading, or merging a sort.
Variants§
Io(FsError)
A spill file or scratch directory could not be created, written, read, or removed.
Encode(String)
A run row could not be encoded for spilling.
Decode(String)
A run row could not be decoded from a spill file.
RunLimit
The session has exhausted its checked 64-bit spill counter.
SessionFailed
An earlier spill failed or was cancelled, invalidating this session.
Gone
The governor actor is no longer running (its task ended or every handle was dropped), so the sort could not be admitted.
Trait Implementations§
Source§impl Debug for SorterError
impl Debug for SorterError
Source§impl Display for SorterError
impl Display for SorterError
Source§impl Error for SorterError
impl Error for SorterError
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()
Auto Trait Implementations§
impl Freeze for SorterError
impl RefUnwindSafe for SorterError
impl Send for SorterError
impl Sync for SorterError
impl Unpin for SorterError
impl UnsafeUnpin for SorterError
impl UnwindSafe for SorterError
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