pub enum AgentKeyError {
Operation(String),
InvalidKey(String),
UnsupportedAlgorithm(String),
VerificationFailed,
DecryptionFailed(String),
Serialization(String),
InvalidFormat(String),
}Expand description
Error type specific to agent key operations
Variants§
Operation(String)
InvalidKey(String)
UnsupportedAlgorithm(String)
VerificationFailed
DecryptionFailed(String)
Serialization(String)
InvalidFormat(String)
Trait Implementations§
Source§impl Debug for AgentKeyError
impl Debug for AgentKeyError
Source§impl Display for AgentKeyError
impl Display for AgentKeyError
Source§impl Error for AgentKeyError
impl Error for AgentKeyError
1.30.0 · 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<AgentKeyError> for Error
impl From<AgentKeyError> for Error
Source§fn from(err: AgentKeyError) -> Self
fn from(err: AgentKeyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AgentKeyError
impl RefUnwindSafe for AgentKeyError
impl Send for AgentKeyError
impl Sync for AgentKeyError
impl Unpin for AgentKeyError
impl UnwindSafe for AgentKeyError
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