pub trait Output:
Write
+ Copy
+ AsFd { }Expand description
Platform bound required for an output handle usable by the backend.
The handle must be writable, cheaply copyable, and expose the platform OS handle used by terminal mode and window-size operations. Process stdio and controlling-terminal output handles satisfy this bound.
This trait is sealed only by its bounds: any type that implements the listed
platform traits implements Output automatically. It is the output
counterpart to the Input bound on the backend’s input handle.
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.