pub enum FactoryResetRequest {
Watch {
responder: FactoryResetWatchResponder,
},
Set {
settings: FactoryResetSettings,
responder: FactoryResetSetResponder,
},
}
Expand description
Settings related to factory reset.
Variants§
Watch
Fields
§
responder: FactoryResetWatchResponder
Notifies of a change in information about the factory reset settings.
On a given connection, the first call will return the current settings
value while subsequent calls will only return the new settings
value
upon a value change. This follows the hanging get pattern.
If this call fails, it is considered a fatal error and the channel will be closed.
Set
Sets factory reset settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.
Implementations§
source§impl FactoryResetRequest
impl FactoryResetRequest
pub fn into_watch(self) -> Option<FactoryResetWatchResponder>
pub fn into_set( self ) -> Option<(FactoryResetSettings, FactoryResetSetResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL