pub enum ScanPageError {
Storage(StorageError),
ByteBudgetExceeded {
maximum: u64,
},
}Expand description
Failure while scanning one page under an explicit aggregate byte budget.
Variants§
Storage(StorageError)
Ordinary durable storage failure.
ByteBudgetExceeded
Aggregate key and value bytes exceeded caller policy.
Trait Implementations§
Source§impl Debug for ScanPageError
impl Debug for ScanPageError
Source§impl Display for ScanPageError
impl Display for ScanPageError
Source§impl Error for ScanPageError
impl Error for ScanPageError
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<StorageError> for ScanPageError
impl From<StorageError> for ScanPageError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ScanPageError
impl !UnwindSafe for ScanPageError
impl Freeze for ScanPageError
impl Send for ScanPageError
impl Sync for ScanPageError
impl Unpin for ScanPageError
impl UnsafeUnpin for ScanPageError
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