pub enum OptOutAdminRequest {
Set {
value: OptOutPreference,
responder: OptOutAdminSetResponder,
},
}
Expand description
Management for the state of the update system’s opt-out functionality.
Variants§
Set
Sets the update opt-out preference to value
.
- request
value
The user’s new opt-out preference.
- error Any error encountered while persisting the new setting.
Implementations§
Source§impl OptOutAdminRequest
impl OptOutAdminRequest
pub fn into_set(self) -> Option<(OptOutPreference, OptOutAdminSetResponder)>
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 OptOutAdminRequest
impl !RefUnwindSafe for OptOutAdminRequest
impl Send for OptOutAdminRequest
impl Sync for OptOutAdminRequest
impl Unpin for OptOutAdminRequest
impl !UnwindSafe for OptOutAdminRequest
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