#[non_exhaustive]#[repr(u8)]pub enum ComponentResponseCode {
Success = 0,
IdenticalVersion = 1,
DowngradeVersion = 2,
InvalidVersion = 3,
Conflict = 4,
MissingPrerequisite = 5,
NotSupported = 6,
SecurityPreventDowngrade = 7,
}Expand description
Response Codes for Update Component and Pass Component Table
This list is not complete, refer to the specification
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success = 0
IdenticalVersion = 1
DowngradeVersion = 2
InvalidVersion = 3
Conflict = 4
MissingPrerequisite = 5
NotSupported = 6
SecurityPreventDowngrade = 7
Trait Implementations§
Source§impl Debug for ComponentResponseCode
impl Debug for ComponentResponseCode
Source§impl PartialEq for ComponentResponseCode
impl PartialEq for ComponentResponseCode
impl StructuralPartialEq for ComponentResponseCode
Auto Trait Implementations§
impl Freeze for ComponentResponseCode
impl RefUnwindSafe for ComponentResponseCode
impl Send for ComponentResponseCode
impl Sync for ComponentResponseCode
impl Unpin for ComponentResponseCode
impl UnwindSafe for ComponentResponseCode
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