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
Fields
§
responder: KeyboardWatchResponder
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.
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