pub enum SystemDataUpdaterRequest {
SetSoftwareDistributionInfo {
info: SoftwareDistributionInfo,
responder: SystemDataUpdaterSetSoftwareDistributionInfoResponder,
},
}
Expand description
The SystemDataUpdater interface allows callers to update the state of the SystemProfile in Cobalt. The changes are global and affect all loggers running on the device.
§Deprecation
This protocol does not have any special properties compared to fuchsia.update.channel/Provider other than requiring another component to push the current channel to Cobalt, rather than having Cobalt pull the value. This protocol is deprecated and Cobalt is now retrieving the channel via the standard fuchsia.update.channel/Provider::GetCurrent method.
Variants§
SetSoftwareDistributionInfo
Sets Cobalt’s view of the system-wide distribution information replacing the existing values.
info
The specifications of the current system’s software distribution.
Fields
Implementations§
source§impl SystemDataUpdaterRequest
impl SystemDataUpdaterRequest
pub fn into_set_software_distribution_info( self ) -> Option<(SoftwareDistributionInfo, SystemDataUpdaterSetSoftwareDistributionInfoResponder)>
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 SystemDataUpdaterRequest
impl !RefUnwindSafe for SystemDataUpdaterRequest
impl Send for SystemDataUpdaterRequest
impl Sync for SystemDataUpdaterRequest
impl Unpin for SystemDataUpdaterRequest
impl !UnwindSafe for SystemDataUpdaterRequest
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