pub enum AccessibilityRequest {
Watch {
responder: AccessibilityWatchResponder,
},
Set {
settings: AccessibilitySettings,
responder: AccessibilitySetResponder,
},
}
Expand description
Modify or watch accessibility settings that are persisted.
Supported SettingsEpitaph enums: REQUEST_NOT_SUPPORTED, INTERNAL_SERVICE_ERROR, PERSISTENT_STORAGE_ERROR
Variants§
Watch
Gets the current value of all accessibility settings. Returns immediately on first call; subsequent calls return when any of the values change.
settings
all current values of the accessibility settings.
- see
AccessibilitySettings
for their meaning.
If this call fails, it is considered a fatal error and the channel will be closed.
Fields
§
responder: AccessibilityWatchResponder
Set
Sets AccessibilitySettings settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.
Implementations§
Source§impl AccessibilityRequest
impl AccessibilityRequest
pub fn into_watch(self) -> Option<AccessibilityWatchResponder>
pub fn into_set( self, ) -> Option<(AccessibilitySettings, AccessibilitySetResponder)>
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 AccessibilityRequest
impl !RefUnwindSafe for AccessibilityRequest
impl Send for AccessibilityRequest
impl Sync for AccessibilityRequest
impl Unpin for AccessibilityRequest
impl !UnwindSafe for AccessibilityRequest
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