pub enum ReadBlocksError<ReadErrorType> {
BlockCutoff,
TrailingBytes,
ImpossiblySmallBlockSize,
FileTooSmall,
ReadError(ReadErrorType),
}Variants§
Trait Implementations§
Source§impl<ReadErrorType: Clone> Clone for ReadBlocksError<ReadErrorType>
impl<ReadErrorType: Clone> Clone for ReadBlocksError<ReadErrorType>
Source§fn clone(&self) -> ReadBlocksError<ReadErrorType>
fn clone(&self) -> ReadBlocksError<ReadErrorType>
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 moreimpl<ReadErrorType: Copy> Copy for ReadBlocksError<ReadErrorType>
Auto Trait Implementations§
impl<ReadErrorType> Freeze for ReadBlocksError<ReadErrorType>where
ReadErrorType: Freeze,
impl<ReadErrorType> RefUnwindSafe for ReadBlocksError<ReadErrorType>where
ReadErrorType: RefUnwindSafe,
impl<ReadErrorType> Send for ReadBlocksError<ReadErrorType>where
ReadErrorType: Send,
impl<ReadErrorType> Sync for ReadBlocksError<ReadErrorType>where
ReadErrorType: Sync,
impl<ReadErrorType> Unpin for ReadBlocksError<ReadErrorType>where
ReadErrorType: Unpin,
impl<ReadErrorType> UnsafeUnpin for ReadBlocksError<ReadErrorType>where
ReadErrorType: UnsafeUnpin,
impl<ReadErrorType> UnwindSafe for ReadBlocksError<ReadErrorType>where
ReadErrorType: UnwindSafe,
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