pub struct Keyboard;Expand description
The type corresponding to the Keyboard protocol. Components may request this service from their namespace to be notified of physical key events.
Trait Implementations§
Source§impl Discoverable for Keyboard
impl Discoverable for Keyboard
Source§const PROTOCOL_NAME: &'static str = "fuchsia.ui.input3.Keyboard"
const PROTOCOL_NAME: &'static str = "fuchsia.ui.input3.Keyboard"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Keyboardwhere
___H: KeyboardClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Keyboardwhere
___H: KeyboardClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Keyboardwhere
___H: KeyboardLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Keyboardwhere
___H: KeyboardLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Keyboardwhere
___H: KeyboardLocalServerHandler<___T>,
___T: Transport,
for<'de> KeyboardAddListenerRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Keyboardwhere
___H: KeyboardLocalServerHandler<___T>,
___T: Transport,
for<'de> KeyboardAddListenerRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Keyboardwhere
___H: KeyboardServerHandler<___T> + Send,
___T: Transport,
for<'de> KeyboardAddListenerRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Keyboardwhere
___H: KeyboardServerHandler<___T> + Send,
___T: Transport,
for<'de> KeyboardAddListenerRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl StructuralPartialEq for Keyboard
Auto Trait Implementations§
impl Freeze for Keyboard
impl RefUnwindSafe for Keyboard
impl Send for Keyboard
impl Sync for Keyboard
impl Unpin for Keyboard
impl UnsafeUnpin for Keyboard
impl UnwindSafe for Keyboard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]