pub enum RegistrationOutcome {
Added,
AlreadyExists,
AgentNotFound,
CommandFailed,
UnsupportedKeyType,
ConversionFailed,
IoError,
InternalError,
}Expand description
Represents the outcome of attempting to register a key with the system SSH agent.
Variants§
Added
Key was successfully added to the agent.
AlreadyExists
Key already exists in the agent.
AgentNotFound
The SSH agent process was not found.
CommandFailed
The agent command failed.
UnsupportedKeyType
The key type is not supported by this agent.
ConversionFailed
Key format conversion failed.
IoError
An I/O error occurred.
InternalError
An unexpected internal error occurred.
Trait Implementations§
Source§impl Clone for RegistrationOutcome
impl Clone for RegistrationOutcome
Source§fn clone(&self) -> RegistrationOutcome
fn clone(&self) -> RegistrationOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegistrationOutcome
impl Debug for RegistrationOutcome
Source§impl PartialEq for RegistrationOutcome
impl PartialEq for RegistrationOutcome
Source§impl Serialize for RegistrationOutcome
impl Serialize for RegistrationOutcome
impl Eq for RegistrationOutcome
impl StructuralPartialEq for RegistrationOutcome
Auto Trait Implementations§
impl Freeze for RegistrationOutcome
impl RefUnwindSafe for RegistrationOutcome
impl Send for RegistrationOutcome
impl Sync for RegistrationOutcome
impl Unpin for RegistrationOutcome
impl UnsafeUnpin for RegistrationOutcome
impl UnwindSafe for RegistrationOutcome
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