pub enum DisplayRequest {
Watch {
responder: DisplayWatchResponder,
},
Set {
settings: DisplaySettings,
responder: DisplaySetResponder,
},
}
Expand description
Settings related to display.
Supported SettingsEpitaph enums: REQUEST_NOT_SUPPORTED, INTERNAL_SERVICE_ERROR, PERSISTENT_STORAGE_ERROR
Variants§
Watch
Fields
§
responder: DisplayWatchResponder
Gets the current DisplaySettings. Returns immediately on first call; subsequent calls return when the value changes.
If this call fails, it is considered a fatal error and the channel will be closed.
Set
Sets display settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.
Implementations§
source§impl DisplayRequest
impl DisplayRequest
pub fn into_watch(self) -> Option<DisplayWatchResponder>
pub fn into_set(self) -> Option<(DisplaySettings, DisplaySetResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL