Expand description
§Added
- [
Session::new_process_mux
] Session::new_native_mux
SessionBuilder::get_user
SessionBuilder::get_port
SessionBuilder::resolve
SessionBuilder::launch_master
SessionBuilder::clean_history_control_directory
OverSsh
for convertingstd::process::Command
,tokio::process::Command
or other custom types toCommand
.
§Changed
Socket::TcpSocket
now containshost: Cow<'_, str>
andport: u16
instead of an already resolvedSocketAddr
. Since the socket could be opened on remote host, which might has different dns configuration, it’s better to delay resolution and perform it on remote instead.Socket::new
now takeshost: Cow<'_, str>
andport: u16
for the same reason as above.