pub enum IndexWriteError<E>where
E: Error,{
Inconsistency(IndexInconsistency),
Connectivity(E),
}Variants§
Inconsistency(IndexInconsistency)
Connectivity(E)
Trait Implementations§
Source§impl<E> Clone for IndexWriteError<E>
impl<E> Clone for IndexWriteError<E>
Source§fn clone(&self) -> IndexWriteError<E>
fn clone(&self) -> IndexWriteError<E>
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<E> Debug for IndexWriteError<E>
impl<E> Debug for IndexWriteError<E>
Source§impl<E> Display for IndexWriteError<E>where
E: Error,
impl<E> Display for IndexWriteError<E>where
E: Error,
Source§impl<E> Error for IndexWriteError<E>where
E: Error,
impl<E> Error for IndexWriteError<E>where
E: Error,
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<E> From<IndexInconsistency> for IndexWriteError<E>where
E: Error,
impl<E> From<IndexInconsistency> for IndexWriteError<E>where
E: Error,
Source§fn from(v: IndexInconsistency) -> IndexWriteError<E>
fn from(v: IndexInconsistency) -> IndexWriteError<E>
Converts to this type from the input type.
Source§impl<P> From<IndexWriteError<<P as IndexWriteProvider>::Error>> for IndexError<P>where
P: IndexProvider,
impl<P> From<IndexWriteError<<P as IndexWriteProvider>::Error>> for IndexError<P>where
P: IndexProvider,
Source§fn from(err: IndexWriteError<<P as IndexWriteProvider>::Error>) -> IndexError<P>
fn from(err: IndexWriteError<<P as IndexWriteProvider>::Error>) -> IndexError<P>
Converts to this type from the input type.
Source§impl<E> From<IndexWriteError<E>> for Stringwhere
E: Error,
impl<E> From<IndexWriteError<E>> for Stringwhere
E: Error,
Source§fn from(err: IndexWriteError<E>) -> String
fn from(err: IndexWriteError<E>) -> String
Converts to this type from the input type.
Source§impl<E> PartialEq for IndexWriteError<E>
impl<E> PartialEq for IndexWriteError<E>
impl<E> Eq for IndexWriteError<E>
impl<E> StructuralPartialEq for IndexWriteError<E>where
E: Error,
Auto Trait Implementations§
impl<E> Freeze for IndexWriteError<E>where
E: Freeze,
impl<E> RefUnwindSafe for IndexWriteError<E>where
E: RefUnwindSafe,
impl<E> Send for IndexWriteError<E>where
E: Send,
impl<E> Sync for IndexWriteError<E>where
E: Sync,
impl<E> Unpin for IndexWriteError<E>where
E: Unpin,
impl<E> UnwindSafe for IndexWriteError<E>where
E: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type