Skip to main content

InputMethodEditorClientLocalServerHandler

Trait InputMethodEditorClientLocalServerHandler 

Source
pub trait InputMethodEditorClientLocalServerHandler<___T: Transport = Channel> {
    // Required methods
    fn did_update_state(
        &mut self,
        request: Request<DidUpdateState, ___T>,
    ) -> impl Future<Output = ()>;
    fn on_action(
        &mut self,
        request: Request<OnAction, ___T>,
    ) -> impl Future<Output = ()>;
}
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 = ()>

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<___H, ___T> InputMethodEditorClientLocalServerHandler<___T> for Local<___H>
where ___H: InputMethodEditorClientServerHandler<___T>, ___T: Transport,

Source§

async fn did_update_state(&mut self, request: Request<DidUpdateState, ___T>)

Source§

async fn on_action(&mut self, request: Request<OnAction, ___T>)

Implementors§