Struct ssh_rs::ChannelBroker
source · pub struct ChannelBroker { /* private fields */ }
Implementations
sourceimpl ChannelBroker
impl ChannelBroker
sourcepub fn exec(self) -> SshResult<ExecBroker>
pub fn exec(self) -> SshResult<ExecBroker>
open a ExecBroker channel which can excute commands
sourcepub fn scp(self) -> SshResult<ScpBroker>
pub fn scp(self) -> SshResult<ScpBroker>
open a ScpBroker channel which can download/upload files/directories
sourcepub fn shell(self) -> SshResult<ShellBrocker>
pub fn shell(self) -> SshResult<ShellBrocker>
open a ShellBrocker channel which can be used as a pseudo terminal (AKA PTY)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ChannelBroker
impl Send for ChannelBroker
impl !Sync for ChannelBroker
impl Unpin for ChannelBroker
impl UnwindSafe for ChannelBroker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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