pub enum AkdError {
TreeNode(TreeNodeError),
Directory(DirectoryError),
AzksErr(AzksError),
Vrf(VrfError),
Storage(StorageError),
AuditErr(AuditorError),
TestErr(String),
}
Expand description
Symbolizes a AkdError, thrown by the akd.
Variants
TreeNode(TreeNodeError)
Error propagation
Directory(DirectoryError)
Error propagation
AzksErr(AzksError)
Error propagation
Vrf(VrfError)
Vrf related error
Storage(StorageError)
Storage layer error thrown
AuditErr(AuditorError)
Audit verification error thrown
TestErr(String)
Test error
Trait Implementations
sourceimpl Error for AkdError
impl Error for AkdError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<AuditorError> for AkdError
impl From<AuditorError> for AkdError
sourcefn from(error: AuditorError) -> Self
fn from(error: AuditorError) -> Self
Converts to this type from the input type.
sourceimpl From<DirectoryError> for AkdError
impl From<DirectoryError> for AkdError
sourcefn from(error: DirectoryError) -> Self
fn from(error: DirectoryError) -> Self
Converts to this type from the input type.
sourceimpl From<StorageError> for AkdError
impl From<StorageError> for AkdError
sourcefn from(error: StorageError) -> Self
fn from(error: StorageError) -> Self
Converts to this type from the input type.
sourceimpl From<TreeNodeError> for AkdError
impl From<TreeNodeError> for AkdError
sourcefn from(error: TreeNodeError) -> Self
fn from(error: TreeNodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AkdError
impl Send for AkdError
impl Sync for AkdError
impl Unpin for AkdError
impl UnwindSafe for AkdError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more