pub struct SessionBuilder {
pub user: String,
pub host: String,
pub pass: String,
pub port: u16,
pub identities_only: Option<bool>,
pub userknown_hosts_file: Option<String>,
pub wezterm_ssh_verbose: Option<bool>,
pub wezterm_ssh_backend: SshBackend,
}Fields§
§user: String§host: String§pass: String§port: u16§identities_only: Option<bool>§userknown_hosts_file: Option<String>§wezterm_ssh_verbose: Option<bool>§wezterm_ssh_backend: SshBackendImplementations§
Source§impl SessionBuilder
impl SessionBuilder
pub fn new_with_pass<U, H, P>(user: U, host: H, pass: P, port: u16) -> Self
pub fn disable_userknown_hosts_file(&mut self) -> &mut Self
pub async fn connect_with_pass(&self) -> Result<Session>
Auto Trait Implementations§
impl Freeze for SessionBuilder
impl RefUnwindSafe for SessionBuilder
impl Send for SessionBuilder
impl Sync for SessionBuilder
impl Unpin for SessionBuilder
impl UnwindSafe for SessionBuilder
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