#[repr(C)]pub struct ArchivedUpdateStatuswhere
bool: Archive,{
pub downloaded_update: <bool as Archive>::Archived,
pub needs_continue: <bool as Archive>::Archived,
pub installing: <bool as Archive>::Archived,
pub sufficient_battery: <bool as Archive>::Archived,
}Expand description
An archived UpdateStatus
Fields§
§downloaded_update: <bool as Archive>::ArchivedThe archived counterpart of UpdateStatus::downloaded_update
needs_continue: <bool as Archive>::ArchivedThe archived counterpart of UpdateStatus::needs_continue
installing: <bool as Archive>::ArchivedThe archived counterpart of UpdateStatus::installing
sufficient_battery: <bool as Archive>::ArchivedThe archived counterpart of UpdateStatus::sufficient_battery
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateStatus
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedUpdateStatus
impl Portable for ArchivedUpdateStatus
Auto Trait Implementations§
impl Freeze for ArchivedUpdateStatus
impl RefUnwindSafe for ArchivedUpdateStatus
impl Send for ArchivedUpdateStatus
impl Sync for ArchivedUpdateStatus
impl Unpin for ArchivedUpdateStatus
impl UnwindSafe for ArchivedUpdateStatus
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.