pub struct ConnectOptions {
pub cols: u16,
pub rows: u16,
pub known_hosts: PathBuf,
pub ssh_agent: bool,
pub ssh_key_dir: Option<PathBuf>,
}Expand description
Settings for establishing a connection.
Fields§
§cols: u16§rows: u16§known_hosts: PathBufWhere SSH host keys are pinned.
ssh_agent: boolWhether to offer the SSH agent’s keys.
ssh_key_dir: Option<PathBuf>Where to look for default SSH keys (usually ~/.ssh).
Trait Implementations§
Source§impl Clone for ConnectOptions
impl Clone for ConnectOptions
Auto Trait Implementations§
impl Freeze for ConnectOptions
impl RefUnwindSafe for ConnectOptions
impl Send for ConnectOptions
impl Sync for ConnectOptions
impl Unpin for ConnectOptions
impl UnsafeUnpin for ConnectOptions
impl UnwindSafe for ConnectOptions
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