pub enum KeyboardWatchRequest {
Watch {
responder: KeyboardWatchWatchResponder,
},
}
Expand description
The read-only API for monitoring the changes to the keyboard settings.
Variants§
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: KeyboardWatchWatchResponder
Implementations§
Source§impl KeyboardWatchRequest
impl KeyboardWatchRequest
pub fn into_watch(self) -> Option<KeyboardWatchWatchResponder>
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 KeyboardWatchRequest
impl !RefUnwindSafe for KeyboardWatchRequest
impl Send for KeyboardWatchRequest
impl Sync for KeyboardWatchRequest
impl Unpin for KeyboardWatchRequest
impl !UnwindSafe for KeyboardWatchRequest
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