pub struct Channel { /* private fields */ }
Implementations
sourceimpl Channel
impl Channel
pub fn open_shell(self) -> Result<ChannelShell, SshError>
pub fn open_exec(self) -> Result<ChannelExec, SshError>
pub fn open_scp(self) -> Result<ChannelScp, SshError>
pub fn close(&mut self) -> Result<(), SshError>
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