Skip to main content

ImeServiceLocalServerHandler

Trait ImeServiceLocalServerHandler 

Source
pub trait ImeServiceLocalServerHandler<___T: Transport = Channel> {
    // Required methods
    fn get_input_method_editor(
        &mut self,
        request: Request<GetInputMethodEditor, ___T>,
    ) -> impl Future<Output = ()>;
    fn show_keyboard(&mut self) -> impl Future<Output = ()>;
    fn hide_keyboard(&mut self) -> impl Future<Output = ()>;
}
Expand description

A server handler for the ImeService protocol.

See ImeService for more details.

Required Methods§

Source

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

Source

fn show_keyboard(&mut self) -> impl Future<Output = ()>

Source

fn hide_keyboard(&mut self) -> 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> ImeServiceLocalServerHandler<___T> for Local<___H>
where ___H: ImeServiceServerHandler<___T>, ___T: Transport,

Source§

async fn get_input_method_editor( &mut self, request: Request<GetInputMethodEditor, ___T>, )

Source§

async fn show_keyboard(&mut self)

Source§

async fn hide_keyboard(&mut self)

Implementors§