pub trait SessionExt {
// Required methods
fn send_expect(
&mut self,
send: &str,
expect: impl Into<Pattern>,
) -> impl Future<Output = Result<Match>> + Send;
fn resize(
&mut self,
dimensions: Dimensions,
) -> impl Future<Output = Result<()>> + Send;
}Expand description
Extension trait for session operations.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.