pub enum SpoolError {
NoSpool,
UnknownLayer,
Io {
detail: String,
},
}Expand description
Why a layer’s toolpath could not be read back.
Variants§
NoSpool
The index was built with no spool beside it.
UnknownLayer
The layer is not one of this index’s.
Io
The spool could not be read, or is shorter than the index recorded.
Trait Implementations§
Source§impl Clone for SpoolError
impl Clone for SpoolError
Source§impl Debug for SpoolError
impl Debug for SpoolError
Source§impl Display for SpoolError
impl Display for SpoolError
impl Eq for SpoolError
Source§impl Error for SpoolError
impl Error for SpoolError
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()
Source§impl PartialEq for SpoolError
impl PartialEq for SpoolError
impl StructuralPartialEq for SpoolError
Auto Trait Implementations§
impl Forget for SpoolError
impl Freeze for SpoolError
impl Move for SpoolError
impl RefUnwindSafe for SpoolError
impl Send for SpoolError
impl Sync for SpoolError
impl Unpin for SpoolError
impl UnsafeUnpin for SpoolError
impl UnwindSafe for SpoolError
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