pub enum FactoryResetRequest {
Reset {
responder: FactoryResetResetResponder,
},
}
Expand description
A protocol for intitiating a factory reset.
Variants§
Reset
Fields
§
responder: FactoryResetResetResponder
Request an immediate factory reset. If unsuccessful will return an error.
Implementations§
source§impl FactoryResetRequest
impl FactoryResetRequest
pub fn into_reset(self) -> Option<FactoryResetResetResponder>
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 !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