pub enum SpillFileFrameError {
BadMagic,
UnsupportedVersion(u8),
ChecksumMismatch {
expected: u32,
actual: u32,
},
Truncated,
SizeOverflow,
}Variants§
Trait Implementations§
Source§impl Clone for SpillFileFrameError
impl Clone for SpillFileFrameError
Source§fn clone(&self) -> SpillFileFrameError
fn clone(&self) -> SpillFileFrameError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpillFileFrameError
impl Debug for SpillFileFrameError
Source§impl Display for SpillFileFrameError
impl Display for SpillFileFrameError
impl Eq for SpillFileFrameError
Source§impl Error for SpillFileFrameError
impl Error for SpillFileFrameError
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 SpillFileFrameError
impl PartialEq for SpillFileFrameError
Source§fn eq(&self, other: &SpillFileFrameError) -> bool
fn eq(&self, other: &SpillFileFrameError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpillFileFrameError
Auto Trait Implementations§
impl Freeze for SpillFileFrameError
impl RefUnwindSafe for SpillFileFrameError
impl Send for SpillFileFrameError
impl Sync for SpillFileFrameError
impl Unpin for SpillFileFrameError
impl UnsafeUnpin for SpillFileFrameError
impl UnwindSafe for SpillFileFrameError
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