#[repr(C)]pub enum ForestRetrievalError {
LssError(LssError),
KeypairParseError(CryptoError),
}
Variants§
LssError(LssError)
KeypairParseError(CryptoError)
Trait Implementations§
source§impl Clone for ForestRetrievalError
impl Clone for ForestRetrievalError
source§fn clone(&self) -> ForestRetrievalError
fn clone(&self) -> ForestRetrievalError
Returns a copy 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 Debug for ForestRetrievalError
impl Debug for ForestRetrievalError
source§impl Display for ForestRetrievalError
impl Display for ForestRetrievalError
source§impl Error for ForestRetrievalError
impl Error for ForestRetrievalError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<LssError> for ForestRetrievalError
impl From<LssError> for ForestRetrievalError
source§impl PartialEq<ForestRetrievalError> for ForestRetrievalError
impl PartialEq<ForestRetrievalError> for ForestRetrievalError
source§fn eq(&self, other: &ForestRetrievalError) -> bool
fn eq(&self, other: &ForestRetrievalError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ForestRetrievalError
impl StructuralEq for ForestRetrievalError
impl StructuralPartialEq for ForestRetrievalError
Auto Trait Implementations§
impl RefUnwindSafe for ForestRetrievalError
impl Send for ForestRetrievalError
impl Sync for ForestRetrievalError
impl Unpin for ForestRetrievalError
impl UnwindSafe for ForestRetrievalError
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.