pub enum SpillError {
Io(Error),
CapFull {
depth_bytes: u64,
cap_bytes: u64,
},
Corrupt {
path: PathBuf,
reason: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for SpillError
impl Debug for SpillError
Source§impl Display for SpillError
impl Display for SpillError
Source§impl Error for SpillError
impl Error for SpillError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for SpillError
impl !UnwindSafe for SpillError
impl Freeze for SpillError
impl Send for SpillError
impl Sync for SpillError
impl Unpin for SpillError
impl UnsafeUnpin for SpillError
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