pub enum State {
Available,
NoUpdate,
Unknown,
Unsupported,
}Expand description
Whether the device offers an update.
Variants§
Available
The device offers an update.
NoUpdate
The device says that there is no update.
Unknown
The device does not tell, for example because its last check failed or the user may not read the state.
Unsupported
The device has no service for updates, like some repeaters.
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Forget for State
impl Freeze for State
impl Move for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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