pub trait PtyMaster: PollPtyMaster {
// Required methods
fn resize<'life0, 'async_trait>(
&'life0 self,
dimensions: (u16, u16),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn size<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(u16, u16), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
An async-fn version of PollPtyMaster