Skip to main content

Terminal

Trait Terminal 

Source
pub trait Terminal {
    // Required methods
    fn has_flights(&self) -> bool;
    fn has_inflight(&self) -> bool;
    fn has_pending(&self) -> bool;
    fn source(&self) -> Option<BorrowedFd<'_>>;
}
Expand description

The terminal host state borrowed alongside its exact native backend.

Required Methods§

Source

fn has_flights(&self) -> bool

Source

fn has_inflight(&self) -> bool

Source

fn has_pending(&self) -> bool

Source

fn source(&self) -> Option<BorrowedFd<'_>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§