#[non_exhaustive]pub enum ObjectLogError {
InvalidObjectKey(String),
StorageUnavailable(String),
RangeOutOfBounds(String),
MissingObject(String),
InvalidBatch(String),
Sequencer(String),
BudgetExceeded(String),
InvalidConfig(String),
}Expand description
Errors returned by the object-log engine, storage adapters, and sequencer.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidObjectKey(String)
An object key was empty or contained a .. path component or \0.
The storage layer was unreachable or returned an I/O error.
RangeOutOfBounds(String)
A get_range request named a byte range outside the object, or inverted.
MissingObject(String)
The index referenced an object that is no longer present in storage.
InvalidBatch(String)
A produce batch was malformed (e.g. empty, or below the configured floor).
Sequencer(String)
The sequencer rejected or failed to process a commit/lookup.
BudgetExceeded(String)
Durable-ops budget admission failed (BudgetMode::FailClosed or timed out).
InvalidConfig(String)
Invalid engine or budget configuration.
Trait Implementations§
Source§impl Clone for ObjectLogError
impl Clone for ObjectLogError
Source§impl Debug for ObjectLogError
impl Debug for ObjectLogError
Source§impl Display for ObjectLogError
impl Display for ObjectLogError
impl Eq for ObjectLogError
Source§impl Error for ObjectLogError
impl Error for ObjectLogError
1.30.0 · 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 ObjectLogError
impl From<Error> for ObjectLogError
Source§impl PartialEq for ObjectLogError
impl PartialEq for ObjectLogError
impl StructuralPartialEq for ObjectLogError
Auto Trait Implementations§
impl Freeze for ObjectLogError
impl RefUnwindSafe for ObjectLogError
impl Send for ObjectLogError
impl Sync for ObjectLogError
impl Unpin for ObjectLogError
impl UnsafeUnpin for ObjectLogError
impl UnwindSafe for ObjectLogError
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