pub enum ColumnarError {
Show 13 variants
ChecksumMismatch,
UnsupportedFormatVersion {
found: u16,
expected: u16,
},
UnsupportedCompression {
algorithm: String,
},
MemoryLimitExceeded {
limit: usize,
requested: usize,
},
InvalidFormat(String),
NotFound,
TxnConflict,
RowGroupTooLarge {
size: u64,
max: u64,
},
NotInMemoryMode,
TableNotFound {
table: String,
},
CorruptedSegment {
reason: String,
},
EncodingError {
reason: String,
},
Io(Error),
}Expand description
カラムナー処理で発生するエラー。
Variants§
ChecksumMismatch
チェックサムが一致しない。
UnsupportedFormatVersion
サポートされないフォーマットバージョン。
UnsupportedCompression
サポートされない圧縮方式。
MemoryLimitExceeded
メモリ上限を超過した。
InvalidFormat(String)
フォーマットが不正。
NotFound
リソースが存在しない。
TxnConflict
取引の競合。
RowGroupTooLarge
RowGroup が許容サイズを超えた。
NotInMemoryMode
In-memory モードでのみ許可される操作。
TableNotFound
テーブルが存在しない。
CorruptedSegment
セグメントが壊れている、またはフォーマットが不正。
EncodingError
エンコード/デコードに失敗。
Io(Error)
I/O エラー。
Trait Implementations§
Source§impl Debug for ColumnarError
impl Debug for ColumnarError
Source§impl Display for ColumnarError
impl Display for ColumnarError
Source§impl Error for ColumnarError
impl Error for ColumnarError
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<ColumnarError> for Error
impl From<ColumnarError> for Error
Source§fn from(source: ColumnarError) -> Self
fn from(source: ColumnarError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ColumnarError
impl From<Error> for ColumnarError
Auto Trait Implementations§
impl Freeze for ColumnarError
impl !RefUnwindSafe for ColumnarError
impl Send for ColumnarError
impl Sync for ColumnarError
impl Unpin for ColumnarError
impl !UnwindSafe for ColumnarError
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