pub enum ChunkWriteError {
LengthExceedsMaximum {
length: u32,
},
IOError {
io_error: Error,
},
}Expand description
Possible errors while saving the chunk.
Variants§
LengthExceedsMaximum
Chunk length exceeds 1 MB.
This should not occur under normal conditions.
IOError
I/O Error which happened while were writing chunk data to region.
Trait Implementations§
Source§impl Debug for ChunkWriteError
impl Debug for ChunkWriteError
Auto Trait Implementations§
impl Freeze for ChunkWriteError
impl !RefUnwindSafe for ChunkWriteError
impl Send for ChunkWriteError
impl Sync for ChunkWriteError
impl Unpin for ChunkWriteError
impl UnsafeUnpin for ChunkWriteError
impl !UnwindSafe for ChunkWriteError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more