pub enum KeyboardRequest {
Set {
settings: KeyboardSettings,
responder: KeyboardSetResponder,
},
Watch {
responder: KeyboardWatchResponder,
},
}
Expand description
The SetUI protocol for reading and modifying the keyboard settings.
Variants§
Set
Setting protocol: if a field is left unset, it is not modified. To clear a field, set it to its type’s “zero” value.
Watch
The Watch protocol is the same as in the other fuchsia.settings.*
protocols.
Returns immediately on first call; on subsequent calls it blocks until the settings change, and then returns following the “hanging get” pattern.
Fields
§
responder: KeyboardWatchResponder
Implementations§
Source§impl KeyboardRequest
impl KeyboardRequest
pub fn into_set(self) -> Option<(KeyboardSettings, KeyboardSetResponder)>
pub fn into_watch(self) -> Option<KeyboardWatchResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyboardRequest
impl !RefUnwindSafe for KeyboardRequest
impl Send for KeyboardRequest
impl Sync for KeyboardRequest
impl Unpin for KeyboardRequest
impl !UnwindSafe for KeyboardRequest
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