pub enum ObjectStoreError {
InvalidKey(String),
InvalidContentType,
InvalidMaximumSize,
InvalidExpiry,
ObjectTooLarge,
Store(String),
}Variants§
InvalidKey(String)
InvalidContentType
InvalidMaximumSize
InvalidExpiry
ObjectTooLarge
Store(String)
Trait Implementations§
Source§impl Debug for ObjectStoreError
impl Debug for ObjectStoreError
Source§impl Display for ObjectStoreError
impl Display for ObjectStoreError
Source§impl Error for ObjectStoreError
impl Error for ObjectStoreError
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()
Auto Trait Implementations§
impl Freeze for ObjectStoreError
impl RefUnwindSafe for ObjectStoreError
impl Send for ObjectStoreError
impl Sync for ObjectStoreError
impl Unpin for ObjectStoreError
impl UnsafeUnpin for ObjectStoreError
impl UnwindSafe for ObjectStoreError
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