Enum sota::datatype::report::UpdateResultCode
[−]
[src]
pub enum UpdateResultCode { OK, ALREADY_PROCESSED, DEPENDENCY_FAILURE, VALIDATION_FAILED, INSTALL_FAILED, UPGRADE_FAILED, REMOVAL_FAILED, FLASH_FAILED, CREATE_PARTITION_FAILED, DELETE_PARTITION_FAILED, RESIZE_PARTITION_FAILED, WRITE_PARTITION_FAILED, PATCH_PARTITION_FAILED, USER_DECLINED, SOFTWARE_BLACKLISTED, DISK_FULL, NOT_FOUND, OLD_VERSION, INTERNAL_ERROR, GENERAL_ERROR, }
Enumerate the possible outcomes when trying to install a package.
Variants
OK | Operation executed successfully | |
ALREADY_PROCESSED | Operation has already been processed | |
DEPENDENCY_FAILURE | Dependency failure during package install, upgrade, or removal | |
VALIDATION_FAILED | Update image integrity has been compromised | |
INSTALL_FAILED | Package installation failed | |
UPGRADE_FAILED | Package upgrade failed | |
REMOVAL_FAILED | Package removal failed | |
FLASH_FAILED | The module loader could not flash its managed module | |
CREATE_PARTITION_FAILED | Partition creation failed | |
DELETE_PARTITION_FAILED | Partition deletion failed | |
RESIZE_PARTITION_FAILED | Partition resize failed | |
WRITE_PARTITION_FAILED | Partition write failed | |
PATCH_PARTITION_FAILED | Partition patching failed | |
USER_DECLINED | User declined the update | |
SOFTWARE_BLACKLISTED | Software was blacklisted | |
DISK_FULL | Ran out of disk space | |
NOT_FOUND | Software package not found | |
OLD_VERSION | Tried to downgrade to older version | |
INTERNAL_ERROR | SWM Internal integrity error | |
GENERAL_ERROR | Other error |
Trait Implementations
impl FromStr for UpdateResultCode
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<UpdateResultCode, Error>
Parses a string s
to return a value of this type. Read more
impl Encodable for UpdateResultCode
[src]
Derived Implementations
impl Eq for UpdateResultCode
[src]
impl PartialEq for UpdateResultCode
[src]
fn eq(&self, __arg_0: &UpdateResultCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Debug for UpdateResultCode
[src]
impl Clone for UpdateResultCode
[src]
fn clone(&self) -> UpdateResultCode
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 Decodable for UpdateResultCode
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<UpdateResultCode, __D::Error>
Deserialize a value using a Decoder
.