pub struct MockSshAgent { /* private fields */ }Expand description
In-memory ssh-agent for tests: records every key it was asked to add, so a
test can assert ssh-add delivered the key into the agent and not to
disk (I7).
Implementations§
Trait Implementations§
Source§impl Default for MockSshAgent
impl Default for MockSshAgent
Source§fn default() -> MockSshAgent
fn default() -> MockSshAgent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for MockSshAgent
impl RefUnwindSafe for MockSshAgent
impl Send for MockSshAgent
impl Sync for MockSshAgent
impl Unpin for MockSshAgent
impl UnsafeUnpin for MockSshAgent
impl UnwindSafe for MockSshAgent
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