pub trait PtySystem {
// Required method
fn openpty(&self, size: PtySize) -> Result<PtyPair>;
}Expand description
The PtySystem trait allows an application to work with multiple
possible Pty implementations at runtime. This is important on
Windows systems which have a variety of implementations.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".