pub enum BucketError {
InvalidBucketSize(u64),
InvalidRange {
start: u64,
end: u64,
},
SerializationError(String),
IterationError(String),
}Expand description
Errors specific to the bucket layer.
Variants§
InvalidBucketSize(u64)
Invalid bucket size configuration
InvalidRange
Invalid bucket range for iteration
SerializationError(String)
Serialization operation failed
IterationError(String)
Iteration over bucket range failed
Trait Implementations§
Source§impl Debug for BucketError
impl Debug for BucketError
Source§impl Display for BucketError
impl Display for BucketError
Source§impl Error for BucketError
impl Error for BucketError
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<BucketError> for Error
impl From<BucketError> for Error
Source§fn from(err: BucketError) -> Self
fn from(err: BucketError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BucketError
impl RefUnwindSafe for BucketError
impl Send for BucketError
impl Sync for BucketError
impl Unpin for BucketError
impl UnwindSafe for BucketError
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