[][src]Trait tab_pty_process::PtyMaster

pub trait PtyMaster: PollPtyMaster {
#[must_use]    fn resize<'life0, 'async_trait>(
        &'life0 self,
        dimensions: (u16, u16)
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn size<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(u16, u16), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

An async-fn version of PollPtyMaster

Required methods

#[must_use]fn resize<'life0, 'async_trait>(
    &'life0 self,
    dimensions: (u16, u16)
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Resizes the pty

#[must_use]fn size<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<(u16, u16), Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Retrieves the size of the pty

Loading content...

Implementors

impl<T: Send + Sync> PtyMaster for T where
    T: PollPtyMaster
[src]

Loading content...