pub enum AkdError {
TreeNode(TreeNodeError),
Directory(DirectoryError),
AzksErr(AzksError),
Vrf(VrfError),
Storage(StorageError),
AuditErr(AuditorError),
Parallelism(ParallelismError),
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
Parallelism(ParallelismError)
Parallelism/concurrency related errors
TestErr(String)
Test error
Trait Implementations§
source§impl Error for AkdError
impl Error for AkdError
1.30.0 · 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<AuditorError> for AkdError
impl From<AuditorError> for AkdError
source§fn from(error: AuditorError) -> Self
fn from(error: AuditorError) -> Self
Converts to this type from the input type.
source§impl From<DirectoryError> for AkdError
impl From<DirectoryError> for AkdError
source§fn from(error: DirectoryError) -> Self
fn from(error: DirectoryError) -> Self
Converts to this type from the input type.
source§impl From<ParallelismError> for AkdError
impl From<ParallelismError> for AkdError
source§fn from(error: ParallelismError) -> Self
fn from(error: ParallelismError) -> Self
Converts to this type from the input type.
source§impl From<StorageError> for AkdError
impl From<StorageError> for AkdError
source§fn from(error: StorageError) -> Self
fn from(error: StorageError) -> Self
Converts to this type from the input type.
source§impl From<TreeNodeError> for AkdError
impl From<TreeNodeError> for AkdError
source§fn from(error: TreeNodeError) -> Self
fn from(error: TreeNodeError) -> Self
Converts to this type from the input type.
source§impl From<VerificationError> for AkdError
impl From<VerificationError> for AkdError
source§fn from(err: VerificationError) -> Self
fn from(err: VerificationError) -> 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§
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