pub enum LanceError {
Show 26 variants
Io(Error),
BufferPoolExhausted,
BufferTooSmall {
required: usize,
available: usize,
},
InvalidTlvHeader(String),
InvalidMagic,
CrcMismatch {
expected: u32,
actual: u32,
},
UnsupportedKernel(&'static str),
PinFailed(usize),
NumaAllocFailed(usize),
MlockFailed(String),
SegmentCorrupted {
offset: u64,
reason: String,
},
DrainTimeout,
QuorumNotReached {
required: usize,
received: usize,
},
ChannelDisconnected(&'static str),
Protocol(String),
Config(String),
IndexOutOfBounds(String),
WalReplayFailed(String),
SegmentNotFound(String),
PayloadTooLarge(usize),
InvalidData(String),
FencedOff {
attempted: u64,
current: u64,
},
NotFound(String),
DataCorruption(String),
Client(String),
Internal(String),
}Variants§
Io(Error)
BufferPoolExhausted
BufferTooSmall
InvalidTlvHeader(String)
InvalidMagic
CrcMismatch
UnsupportedKernel(&'static str)
PinFailed(usize)
NumaAllocFailed(usize)
MlockFailed(String)
SegmentCorrupted
DrainTimeout
QuorumNotReached
ChannelDisconnected(&'static str)
Protocol(String)
Config(String)
IndexOutOfBounds(String)
WalReplayFailed(String)
SegmentNotFound(String)
PayloadTooLarge(usize)
InvalidData(String)
FencedOff
NotFound(String)
DataCorruption(String)
Client(String)
Internal(String)
Trait Implementations§
Source§impl Debug for LanceError
impl Debug for LanceError
Source§impl Display for LanceError
impl Display for LanceError
Source§impl Error for LanceError
impl Error for LanceError
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()
Auto Trait Implementations§
impl Freeze for LanceError
impl !RefUnwindSafe for LanceError
impl Send for LanceError
impl Sync for LanceError
impl Unpin for LanceError
impl UnsafeUnpin for LanceError
impl !UnwindSafe for LanceError
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