pub struct ControlSession {
pub control_path: PathBuf,
pub host: String,
pub established: SystemTime,
}Expand description
A single active SSH ControlMaster session.
Fields§
§control_path: PathBufPath to the control socket.
host: StringHost alias or [user@]host from the session.
established: SystemTimeWhen the control socket was created (file modification time).
Trait Implementations§
Source§impl Clone for ControlSession
impl Clone for ControlSession
Auto Trait Implementations§
impl Freeze for ControlSession
impl RefUnwindSafe for ControlSession
impl Send for ControlSession
impl Sync for ControlSession
impl Unpin for ControlSession
impl UnsafeUnpin for ControlSession
impl UnwindSafe for ControlSession
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