[][src]Struct async_ssh2_lite::AsyncChannel

pub struct AsyncChannel<S> { /* fields omitted */ }

Implementations

impl<S> AsyncChannel<S>[src]

pub async fn setenv(&mut self, var: &str, val: &str) -> Result<()>[src]

pub async fn request_pty(
    &mut self,
    term: &str,
    mode: Option<PtyModes>,
    dim: Option<(u32, u32, u32, u32)>
) -> Result<()>
[src]

pub async fn request_pty_size(
    &mut self,
    width: u32,
    height: u32,
    width_px: Option<u32>,
    height_px: Option<u32>
) -> Result<()>
[src]

pub async fn request_auth_agent_forwarding(&mut self) -> Result<()>[src]

pub async fn exec(&mut self, command: &str) -> Result<()>[src]

pub async fn shell(&mut self) -> Result<()>[src]

pub async fn subsystem(&mut self, system: &str) -> Result<()>[src]

pub async fn process_startup(
    &mut self,
    request: &str,
    message: Option<&str>
) -> Result<()>
[src]

pub fn stderr(&self) -> AsyncStream<S>[src]

pub fn stream(&self, stream_id: i32) -> AsyncStream<S>[src]

pub async fn handle_extended_data(&mut self, mode: ExtendedData) -> Result<()>[src]

pub fn exit_status(&self) -> Result<i32>[src]

pub async fn exit_signal(&self) -> Result<ExitSignal>[src]

pub fn read_window(&self) -> ReadWindow[src]

pub fn write_window(&self) -> WriteWindow[src]

pub async fn adjust_receive_window(
    &mut self,
    adjust: u64,
    force: bool
) -> Result<u64>
[src]

pub fn eof(&self) -> bool[src]

pub async fn send_eof(&mut self) -> Result<()>[src]

pub async fn wait_eof(&mut self) -> Result<()>[src]

pub async fn close(&mut self) -> Result<()>[src]

pub async fn wait_close(&mut self) -> Result<()>[src]

Trait Implementations

impl<S> AsyncRead for AsyncChannel<S>[src]

impl<S> AsyncWrite for AsyncChannel<S>[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for AsyncChannel<S>[src]

impl<S> Send for AsyncChannel<S> where
    S: Send + Sync
[src]

impl<S> Sync for AsyncChannel<S> where
    S: Send + Sync
[src]

impl<S> Unpin for AsyncChannel<S>[src]

impl<S> !UnwindSafe for AsyncChannel<S>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized
[src]

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?Sized

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.