#[repr(u8)]pub enum ArchivedDownloadErrorwhere
String: Archive,
Error: Archive,{
Io(<String as Archive>::Archived),
Fs(<Error as Archive>::Archived),
EnvoyError(<String as Archive>::Archived),
RetryFailed(<String as Archive>::Archived),
InvalidState,
InvalidChunk,
Stalled,
}Expand description
An archived DownloadError
Variants§
Io(<String as Archive>::Archived)
The archived counterpart of DownloadError::Io
Tuple Fields
§
0: <String as Archive>::ArchivedThe archived counterpart of DownloadError::Io::0
Fs(<Error as Archive>::Archived)
The archived counterpart of DownloadError::Fs
Tuple Fields
§
0: <Error as Archive>::ArchivedThe archived counterpart of DownloadError::Fs::0
EnvoyError(<String as Archive>::Archived)
The archived counterpart of DownloadError::EnvoyError
Tuple Fields
§
0: <String as Archive>::ArchivedThe archived counterpart of DownloadError::EnvoyError::0
RetryFailed(<String as Archive>::Archived)
The archived counterpart of DownloadError::RetryFailed
Tuple Fields
§
0: <String as Archive>::ArchivedThe archived counterpart of DownloadError::RetryFailed::0
InvalidState
The archived counterpart of DownloadError::InvalidState
InvalidChunk
The archived counterpart of DownloadError::InvalidChunk
Stalled
The archived counterpart of DownloadError::Stalled
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDownloadError
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDownloadError
impl Portable for ArchivedDownloadError
Auto Trait Implementations§
impl Freeze for ArchivedDownloadError
impl RefUnwindSafe for ArchivedDownloadError
impl Send for ArchivedDownloadError
impl Sync for ArchivedDownloadError
impl !Unpin for ArchivedDownloadError
impl UnwindSafe for ArchivedDownloadError
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.