pub enum FactoryResetRequest {
GetEnabled {
responder: FactoryResetGetEnabledResponder,
},
}
Expand description
A protocol for determining whether factory reset can be triggered.
Variants§
GetEnabled
A hanging-get style api that returns whether local factory reset is enabled.
Fields
§
responder: FactoryResetGetEnabledResponder
Implementations§
Source§impl FactoryResetRequest
impl FactoryResetRequest
pub fn into_get_enabled(self) -> Option<FactoryResetGetEnabledResponder>
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 FactoryResetRequest
impl !RefUnwindSafe for FactoryResetRequest
impl Send for FactoryResetRequest
impl Sync for FactoryResetRequest
impl Unpin for FactoryResetRequest
impl !UnwindSafe for FactoryResetRequest
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