pub enum DTGCredentialError {
UnknownCredential,
DataIntegrity(DataIntegrityError),
NotSigned,
UnknownVCVersion,
}Expand description
Errors related to DTG Credentials
Variants§
Trait Implementations§
Source§impl Debug for DTGCredentialError
impl Debug for DTGCredentialError
Source§impl Display for DTGCredentialError
impl Display for DTGCredentialError
Source§impl Error for DTGCredentialError
impl Error for DTGCredentialError
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 From<DataIntegrityError> for DTGCredentialError
impl From<DataIntegrityError> for DTGCredentialError
Source§fn from(source: DataIntegrityError) -> Self
fn from(source: DataIntegrityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DTGCredentialError
impl !RefUnwindSafe for DTGCredentialError
impl Send for DTGCredentialError
impl Sync for DTGCredentialError
impl Unpin for DTGCredentialError
impl UnsafeUnpin for DTGCredentialError
impl !UnwindSafe for DTGCredentialError
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