#[repr(u8)]pub enum ArchivedProgressUpdate{
DownloadProgress(<DownloadProgress as Archive>::Archived),
DownloadComplete,
InstallProgress(<InstallProgress as Archive>::Archived),
Rebooting,
Done,
InstallError(<Error as Archive>::Archived),
DownloadError(<DownloadError as Archive>::Archived),
}Expand description
An archived ProgressUpdate
Variants§
DownloadProgress(<DownloadProgress as Archive>::Archived)
The archived counterpart of ProgressUpdate::DownloadProgress
Tuple Fields
§
0: <DownloadProgress as Archive>::ArchivedThe archived counterpart of ProgressUpdate::DownloadProgress::0
DownloadComplete
The archived counterpart of ProgressUpdate::DownloadComplete
InstallProgress(<InstallProgress as Archive>::Archived)
The archived counterpart of ProgressUpdate::InstallProgress
Tuple Fields
§
0: <InstallProgress as Archive>::ArchivedThe archived counterpart of ProgressUpdate::InstallProgress::0
Rebooting
The archived counterpart of ProgressUpdate::Rebooting
Done
The archived counterpart of ProgressUpdate::Done
InstallError(<Error as Archive>::Archived)
The archived counterpart of ProgressUpdate::InstallError
Tuple Fields
§
0: <Error as Archive>::ArchivedThe archived counterpart of ProgressUpdate::InstallError::0
DownloadError(<DownloadError as Archive>::Archived)
The archived counterpart of ProgressUpdate::DownloadError
Tuple Fields
§
0: <DownloadError as Archive>::ArchivedThe archived counterpart of ProgressUpdate::DownloadError::0
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedProgressUpdatewhere
DownloadProgress: Archive,
InstallProgress: Archive,
Error: Archive,
DownloadError: Archive,
<__C as Fallible>::Error: Source,
<DownloadProgress as Archive>::Archived: CheckBytes<__C>,
<InstallProgress as Archive>::Archived: CheckBytes<__C>,
<Error as Archive>::Archived: CheckBytes<__C>,
<DownloadError as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedProgressUpdatewhere
DownloadProgress: Archive,
InstallProgress: Archive,
Error: Archive,
DownloadError: Archive,
<__C as Fallible>::Error: Source,
<DownloadProgress as Archive>::Archived: CheckBytes<__C>,
<InstallProgress as Archive>::Archived: CheckBytes<__C>,
<Error as Archive>::Archived: CheckBytes<__C>,
<DownloadError as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedProgressUpdatewhere
DownloadProgress: Archive,
InstallProgress: Archive,
Error: Archive,
DownloadError: Archive,
<DownloadProgress as Archive>::Archived: Portable,
<InstallProgress as Archive>::Archived: Portable,
<Error as Archive>::Archived: Portable,
<DownloadError as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedProgressUpdate
impl RefUnwindSafe for ArchivedProgressUpdate
impl Send for ArchivedProgressUpdate
impl Sync for ArchivedProgressUpdate
impl !Unpin for ArchivedProgressUpdate
impl UnwindSafe for ArchivedProgressUpdate
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.