Enum sota::datatype::event::Event
[−]
[src]
pub enum Event { Error(String), Authenticated, NotAuthenticated, AlreadyAuthenticated, UpdatesReceived(Vec<UpdateRequest>), UpdateAvailable(UpdateAvailable), NoUpdateRequests, FoundInstalledPackages(Vec<Package>), FoundSystemInfo(String), DownloadingUpdate(UpdateRequestId), DownloadComplete(DownloadComplete), DownloadFailed(UpdateRequestId, String), InstallingUpdate(UpdateRequestId), InstallComplete(UpdateReport), InstallFailed(UpdateReport), UpdateReportSent, InstalledPackagesSent, InstalledSoftwareSent, SystemInfoSent, InstalledSoftwareNeeded, }
System-wide events that are broadcast to all interested parties.
Variants
Error | General error event with a printable representation for debugging. | |
Authenticated | Authentication was successful. | |
NotAuthenticated | An operation failed because we are not currently authenticated. | |
AlreadyAuthenticated | Nothing was done as we are already authenticated. | |
UpdatesReceived | A notification from Core of pending or in-flight updates. | |
UpdateAvailable | A notification from RVI of a pending update. | |
NoUpdateRequests | There are no outstanding update requests. | |
FoundInstalledPackages | The following packages are installed on the device. | |
FoundSystemInfo | An update on the system information was received. | |
DownloadingUpdate | Downloading an update. | |
DownloadComplete | An update was downloaded. | |
DownloadFailed | Downloading an update failed. | |
InstallingUpdate | Installing an update. | |
InstallComplete | An update was installed. | |
InstallFailed | The installation of an update failed. | |
UpdateReportSent | An update report was sent to the Core server. | |
InstalledPackagesSent | A list of installed packages was sent to the Core server. | |
InstalledSoftwareSent | A list of installed software was sent to the Core server. | |
SystemInfoSent | The system information was sent to the Core server. | |
InstalledSoftwareNeeded | A broadcast event requesting an update on externally installed software. |
Trait Implementations
impl Display for Event
[src]
Derived Implementations
impl Eq for Event
[src]
impl PartialEq for Event
[src]
fn eq(&self, __arg_0: &Event) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Event) -> bool
This method tests for !=
.
impl Clone for Event
[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Event
[src]
impl Decodable for Event
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Event, __D::Error>
Deserialize a value using a Decoder
.