Skip to main content

native_pty_system_boxed

Function native_pty_system_boxed 

Source
pub fn native_pty_system_boxed() -> Box<dyn PtySystem + Send>
Expand description

Returns the native PTY system as a boxed trait object.

Useful when you need runtime polymorphism, e.g., swapping in a mock implementation for testing.