#[repr(C)]pub struct ArchivedDownloadProgresswhere
u32: Archive,{
pub patches_total: <u32 as Archive>::Archived,
pub patches_complete: <u32 as Archive>::Archived,
pub chunks_received: <u32 as Archive>::Archived,
pub total_chunks: <u32 as Archive>::Archived,
}Expand description
An archived DownloadProgress
Fields§
§patches_total: <u32 as Archive>::ArchivedThe archived counterpart of DownloadProgress::patches_total
patches_complete: <u32 as Archive>::ArchivedThe archived counterpart of DownloadProgress::patches_complete
chunks_received: <u32 as Archive>::ArchivedThe archived counterpart of DownloadProgress::chunks_received
total_chunks: <u32 as Archive>::ArchivedThe archived counterpart of DownloadProgress::total_chunks
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDownloadProgress
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDownloadProgress
impl Portable for ArchivedDownloadProgress
Auto Trait Implementations§
impl Freeze for ArchivedDownloadProgress
impl RefUnwindSafe for ArchivedDownloadProgress
impl Send for ArchivedDownloadProgress
impl Sync for ArchivedDownloadProgress
impl Unpin for ArchivedDownloadProgress
impl UnwindSafe for ArchivedDownloadProgress
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.