#[repr(u8)]pub enum Status {
Updateavailable = 0,
Busy = 1,
Notavailable = 2,
Downloadprotocolnotsupported = 3,
}Variants§
Updateavailable = 0
Indicates that the OTA Provider has an update available.
Busy = 1
Indicates OTA Provider may have an update, but it is not ready yet.
Notavailable = 2
Indicates that there is definitely no update currently available from the OTA Provider.
Downloadprotocolnotsupported = 3
Indicates that the requested download protocol is not supported by the OTA Provider.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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