pub struct SessionConfig {
pub scrollback: usize,
pub known_hosts: PathBuf,
pub download_dir: PathBuf,
pub ssh_agent: bool,
pub ssh_key_dir: Option<PathBuf>,
pub modem: ModemConfig,
}Expand description
Where a session keeps the files it produces.
Fields§
§scrollback: usize§known_hosts: PathBuf§download_dir: PathBuf§ssh_agent: boolOffer the SSH agent’s keys when logging in.
ssh_key_dir: Option<PathBuf>Where default SSH keys (id_ed25519, …) are looked for.
modem: ModemConfigThe modem, for modem entries.
Trait Implementations§
Source§impl Clone for SessionConfig
impl Clone for SessionConfig
Auto Trait Implementations§
impl Freeze for SessionConfig
impl RefUnwindSafe for SessionConfig
impl Send for SessionConfig
impl Sync for SessionConfig
impl Unpin for SessionConfig
impl UnsafeUnpin for SessionConfig
impl UnwindSafe for SessionConfig
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