pub enum BlobError {
InvalidChunkIndex(usize, usize),
UnexpectedChunkSize(usize, usize, usize),
OutOfBounds,
RedundantContentDiffers(usize),
}
Variants§
InvalidChunkIndex(usize, usize)
UnexpectedChunkSize(usize, usize, usize)
OutOfBounds
RedundantContentDiffers(usize)
Trait Implementations§
source§impl Error for BlobError
impl Error for BlobError
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 From<BlobError> for FrontLogicError
impl From<BlobError> for FrontLogicError
source§fn from(err: BlobError) -> FrontLogicError
fn from(err: BlobError) -> FrontLogicError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlobError
impl RefUnwindSafe for BlobError
impl Send for BlobError
impl Sync for BlobError
impl Unpin for BlobError
impl UnwindSafe for BlobError
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