pub enum FactoryResetRequest {
Reset {
responder: FactoryResetResetResponder,
},
}
Expand description
A protocol for intitiating a factory reset.
Variants§
Reset
Request an immediate factory reset. If unsuccessful will return an error.
Fields
§
responder: FactoryResetResetResponder
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 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