pub trait PtyBackend {
type Master: PtyMaster;
type Slave: PtySlave;
// Required method
fn openpty(size: PtySize) -> Result<(Self::Master, Self::Slave)>;
}Expand description
Factory trait for opening platform-specific pseudo-terminal pairs.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".