pub struct Channel { /* private fields */ }
Implementations
sourceimpl Channel
impl Channel
pub fn open_shell(self) -> SshResult<ChannelShell>
pub fn open_exec(self) -> SshResult<ChannelExec>
pub fn open_scp(self) -> SshResult<ChannelScp>
pub fn close(&mut self) -> SshResult<()>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more