Enum trust_graph::TrustGraphError
source · pub enum TrustGraphError {
InternalStorageError(Box<dyn StorageError>),
NoRoot,
EmptyChain,
CertificateCheckError(CertificateError),
RevokeCheckError(RevokeError),
AddTrustError(String),
TrustVerificationError(TrustError),
}Variants§
InternalStorageError(Box<dyn StorageError>)
NoRoot
EmptyChain
CertificateCheckError(CertificateError)
RevokeCheckError(RevokeError)
AddTrustError(String)
TrustVerificationError(TrustError)
Trait Implementations§
source§impl Debug for TrustGraphError
impl Debug for TrustGraphError
source§impl Display for TrustGraphError
impl Display for TrustGraphError
source§impl Error for TrustGraphError
impl Error for TrustGraphError
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<CertificateError> for TrustGraphError
impl From<CertificateError> for TrustGraphError
source§fn from(source: CertificateError) -> Self
fn from(source: CertificateError) -> Self
Converts to this type from the input type.
source§impl<T: StorageError + 'static> From<T> for TrustGraphError
impl<T: StorageError + 'static> From<T> for TrustGraphError
source§impl From<TrustError> for TrustGraphError
impl From<TrustError> for TrustGraphError
source§fn from(source: TrustError) -> Self
fn from(source: TrustError) -> Self
Converts to this type from the input type.
source§impl From<TrustGraphError> for String
impl From<TrustGraphError> for String
source§fn from(err: TrustGraphError) -> Self
fn from(err: TrustGraphError) -> Self
Converts to this type from the input type.