pub enum StashProviderError<E>where
E: Error,{
Inconsistency(StashInconsistency),
Connectivity(E),
}Variants§
Inconsistency(StashInconsistency)
Connectivity(E)
Trait Implementations§
Source§impl<E> Clone for ProviderError<E>
impl<E> Clone for ProviderError<E>
Source§fn clone(&self) -> ProviderError<E>
fn clone(&self) -> ProviderError<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 ProviderError<E>
impl<E> Debug for ProviderError<E>
Source§impl<E> Display for ProviderError<E>where
E: Error,
impl<E> Display for ProviderError<E>where
E: Error,
Source§impl<E> Error for ProviderError<E>where
E: Error,
impl<E> Error for ProviderError<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<StashInconsistency> for ProviderError<E>where
E: Error,
impl<E> From<StashInconsistency> for ProviderError<E>where
E: Error,
Source§fn from(v: StashInconsistency) -> ProviderError<E>
fn from(v: StashInconsistency) -> ProviderError<E>
Converts to this type from the input type.
Source§impl<P> From<ProviderError<<P as StashReadProvider>::Error>> for StashError<P>where
P: StashProvider,
impl<P> From<ProviderError<<P as StashReadProvider>::Error>> for StashError<P>where
P: StashProvider,
Source§fn from(err: ProviderError<<P as StashReadProvider>::Error>) -> StashError<P>
fn from(err: ProviderError<<P as StashReadProvider>::Error>) -> StashError<P>
Converts to this type from the input type.
Source§impl<E> From<ProviderError<E>> for Stringwhere
E: Error,
impl<E> From<ProviderError<E>> for Stringwhere
E: Error,
Source§fn from(err: ProviderError<E>) -> String
fn from(err: ProviderError<E>) -> String
Converts to this type from the input type.
Source§impl<E> PartialEq for ProviderError<E>
impl<E> PartialEq for ProviderError<E>
impl<E> Eq for ProviderError<E>
impl<E> StructuralPartialEq for ProviderError<E>where
E: Error,
Auto Trait Implementations§
impl<E> Freeze for ProviderError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ProviderError<E>where
E: RefUnwindSafe,
impl<E> Send for ProviderError<E>where
E: Send,
impl<E> Sync for ProviderError<E>where
E: Sync,
impl<E> Unpin for ProviderError<E>where
E: Unpin,
impl<E> UnwindSafe for ProviderError<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