Struct wezterm_ssh::Session [−][src]
pub struct Session { /* fields omitted */ }Implementations
impl Session[src]
impl Session[src]pub fn connect(config: ConfigMap) -> Result<(Self, Receiver<SessionEvent>)>[src]
pub async fn request_pty(
&self,
term: &str,
size: PtySize,
command_line: Option<&str>,
env: Option<HashMap<String, String>>
) -> Result<(SshPty, SshChildProcess)>[src]
&self,
term: &str,
size: PtySize,
command_line: Option<&str>,
env: Option<HashMap<String, String>>
) -> Result<(SshPty, SshChildProcess)>
pub async fn exec(
&self,
command_line: &str,
env: Option<HashMap<String, String>>
) -> Result<ExecResult>[src]
&self,
command_line: &str,
env: Option<HashMap<String, String>>
) -> Result<ExecResult>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Session
impl RefUnwindSafe for Sessionimpl UnwindSafe for Session
impl UnwindSafe for Session