[][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>

impl<S> Send for AsyncChannel<S> where
    S: Send + Sync

impl<S> Sync for AsyncChannel<S> where
    S: Send + Sync

impl<S> Unpin for AsyncChannel<S>

impl<S> !UnwindSafe for AsyncChannel<S>

Blanket Implementations

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

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

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

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.