pub enum WriteError<B> {
SpaceExhausted,
Backend(B),
}Expand description
Errors when writing to the store
Variants§
SpaceExhausted
store is full even after automatic compaction
Backend(B)
error passed from the StoreBackend’s erase() and program()
methods
Trait Implementations§
Source§impl<B: Clone> Clone for WriteError<B>
impl<B: Clone> Clone for WriteError<B>
Source§fn clone(&self) -> WriteError<B>
fn clone(&self) -> WriteError<B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<B: Debug> Debug for WriteError<B>
impl<B: Debug> Debug for WriteError<B>
Source§impl<B: Display> Display for WriteError<B>
impl<B: Display> Display for WriteError<B>
Source§impl<B> From<WriteError<B>> for Error<B>
impl<B> From<WriteError<B>> for Error<B>
Source§fn from(e: WriteError<B>) -> Self
fn from(e: WriteError<B>) -> Self
Converts to this type from the input type.
Source§impl<B: PartialEq> PartialEq for WriteError<B>
impl<B: PartialEq> PartialEq for WriteError<B>
impl<B: Copy> Copy for WriteError<B>
impl<B: Eq> Eq for WriteError<B>
impl<B> StructuralPartialEq for WriteError<B>
Auto Trait Implementations§
impl<B> Freeze for WriteError<B>where
B: Freeze,
impl<B> RefUnwindSafe for WriteError<B>where
B: RefUnwindSafe,
impl<B> Send for WriteError<B>where
B: Send,
impl<B> Sync for WriteError<B>where
B: Sync,
impl<B> Unpin for WriteError<B>where
B: Unpin,
impl<B> UnwindSafe for WriteError<B>where
B: UnwindSafe,
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