Enum reth_nippy_jar::NippyJarError
source · pub enum NippyJarError {
Show 20 variants
Internal(Box<dyn Error + Send + Sync>),
Disconnect(Error),
FileSystem(FsPathError),
Custom(String),
Bincode(Box<ErrorKind>),
EliasFano(Error),
CompressorNotReady,
DecompressorNotReady,
ColumnLenMismatch(usize, usize),
UnexpectedMissingValue(u64, u64),
OffsetSizeTooBig {
offset_size: u8,
},
OffsetSizeTooSmall {
offset_size: u8,
},
OffsetOutOfBounds {
index: usize,
},
OutputTooSmall,
DictionaryNotLoaded,
CompressorNotAllowed,
InvalidPruning(u64, u64),
FrozenJar,
InconsistentState,
MissingFile(PathBuf),
}
Expand description
Errors associated with crate::NippyJar
.
Variants§
Internal(Box<dyn Error + Send + Sync>)
Disconnect(Error)
FileSystem(FsPathError)
Custom(String)
Bincode(Box<ErrorKind>)
EliasFano(Error)
CompressorNotReady
DecompressorNotReady
ColumnLenMismatch(usize, usize)
UnexpectedMissingValue(u64, u64)
OffsetSizeTooBig
OffsetSizeTooSmall
OffsetOutOfBounds
OutputTooSmall
DictionaryNotLoaded
CompressorNotAllowed
InvalidPruning(u64, u64)
FrozenJar
InconsistentState
MissingFile(PathBuf)
Trait Implementations§
source§impl Debug for NippyJarError
impl Debug for NippyJarError
source§impl Display for NippyJarError
impl Display for NippyJarError
source§impl Error for NippyJarError
impl Error for NippyJarError
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<Error> for NippyJarError
impl From<Error> for NippyJarError
source§impl From<Error> for NippyJarError
impl From<Error> for NippyJarError
Auto Trait Implementations§
impl Freeze for NippyJarError
impl !RefUnwindSafe for NippyJarError
impl Send for NippyJarError
impl Sync for NippyJarError
impl Unpin for NippyJarError
impl !UnwindSafe for NippyJarError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes
Size for each variant:
Internal
: 24 bytesDisconnect
: 16 bytesFileSystem
: 64 bytesCustom
: 32 bytesBincode
: 16 bytesEliasFano
: 16 bytesCompressorNotReady
: 0 bytesDecompressorNotReady
: 0 bytesColumnLenMismatch
: 24 bytesUnexpectedMissingValue
: 24 bytesOffsetSizeTooBig
: 9 bytesOffsetSizeTooSmall
: 9 bytesOffsetOutOfBounds
: 16 bytesOutputTooSmall
: 0 bytesDictionaryNotLoaded
: 0 bytesCompressorNotAllowed
: 0 bytesInvalidPruning
: 24 bytesFrozenJar
: 0 bytesInconsistentState
: 0 bytesMissingFile
: 32 bytes