#[non_exhaustive]pub enum AgentSigningError {
Unavailable(String),
ConnectionFailed(String),
SigningFailed(String),
StartupFailed(String),
}Expand description
Errors from agent signing operations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The agent is not available on this platform or is not installed.
ConnectionFailed(String)
The agent socket exists but the connection failed.
SigningFailed(String)
The agent accepted the request but signing failed.
StartupFailed(String)
The agent could not be started.
Trait Implementations§
Source§impl Debug for AgentSigningError
impl Debug for AgentSigningError
Source§impl Display for AgentSigningError
impl Display for AgentSigningError
Source§impl Error for AgentSigningError
impl Error for AgentSigningError
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()
Auto Trait Implementations§
impl Freeze for AgentSigningError
impl RefUnwindSafe for AgentSigningError
impl Send for AgentSigningError
impl Sync for AgentSigningError
impl Unpin for AgentSigningError
impl UnsafeUnpin for AgentSigningError
impl UnwindSafe for AgentSigningError
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