Skip to main content

TerminalEventControlHandle

Trait TerminalEventControlHandle 

Source
pub trait TerminalEventControlHandle<E> {
    // Required method
    fn send_terminal_event(&self, terminal_event: E) -> Result<(), Error>;
}
Expand description

A FIDL ControlHandle that can send a terminal event.

Required Methods§

Source

fn send_terminal_event(&self, terminal_event: E) -> Result<(), Error>

Send the given terminal event

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl TerminalEventControlHandle<TableControllerCloseReason> for Ipv4RoutingTableControllerControlHandle

Source§

fn send_terminal_event( &self, terminal_event: TableControllerCloseReason, ) -> Result<(), Error>

Source§

impl TerminalEventControlHandle<TableControllerCloseReason> for Ipv6RoutingTableControllerControlHandle

Source§

fn send_terminal_event( &self, terminal_event: TableControllerCloseReason, ) -> Result<(), Error>

Implementors§