pub trait InputMethodEditorServerHandler<___T = Channel>where
___T: Transport,{
// Required methods
fn set_keyboard_type(
&mut self,
request: Request<SetKeyboardType, ___T>,
) -> impl Future<Output = ()> + Send;
fn set_state(
&mut self,
request: Request<SetState, ___T>,
) -> impl Future<Output = ()> + Send;
fn inject_input(
&mut self,
request: Request<InjectInput, ___T>,
) -> impl Future<Output = ()> + Send;
fn dispatch_key3(
&mut self,
request: Request<DispatchKey3, ___T>,
responder: Responder<DispatchKey3, ___T>,
) -> impl Future<Output = ()> + Send;
fn show(&mut self) -> impl Future<Output = ()> + Send;
fn hide(&mut self) -> impl Future<Output = ()> + Send;
}Expand description
A server handler for the InputMethodEditor protocol.
See InputMethodEditor for more details.
Required Methods§
fn set_keyboard_type( &mut self, request: Request<SetKeyboardType, ___T>, ) -> impl Future<Output = ()> + Send
fn set_state( &mut self, request: Request<SetState, ___T>, ) -> impl Future<Output = ()> + Send
fn inject_input( &mut self, request: Request<InjectInput, ___T>, ) -> impl Future<Output = ()> + Send
fn dispatch_key3( &mut self, request: Request<DispatchKey3, ___T>, responder: Responder<DispatchKey3, ___T>, ) -> impl Future<Output = ()> + Send
fn show(&mut self) -> impl Future<Output = ()> + Send
fn hide(&mut self) -> impl Future<Output = ()> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".