Skip to main content

InputMethodEditorClientServerHandler

Trait InputMethodEditorClientServerHandler 

Source
pub trait InputMethodEditorClientServerHandler<___T: Transport = Channel> {
    // Required methods
    fn did_update_state(
        &mut self,
        request: Request<DidUpdateState, ___T>,
    ) -> impl Future<Output = ()> + Send;
    fn on_action(
        &mut self,
        request: Request<OnAction, ___T>,
    ) -> impl Future<Output = ()> + Send;
}
Expand description

A server handler for the InputMethodEditorClient protocol.

See InputMethodEditorClient for more details.

Required Methods§

Source

fn did_update_state( &mut self, request: Request<DidUpdateState, ___T>, ) -> impl Future<Output = ()> + Send

Source

fn on_action( &mut self, request: Request<OnAction, ___T>, ) -> impl Future<Output = ()> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§