#[non_exhaustive]pub enum ManifestFault {
Fetch,
Utf8,
Parse,
Timeline,
}Expand description
Why a manifest could not be used.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fetch
The fetch failed (transport, timeout or HTTP status).
Utf8
The body is not UTF-8.
Parse
The body is not a parseable Smooth manifest.
Timeline
A chunk timeline could not be enumerated.
Implementations§
Trait Implementations§
Source§impl Clone for ManifestFault
impl Clone for ManifestFault
impl Copy for ManifestFault
Source§impl Debug for ManifestFault
impl Debug for ManifestFault
Source§impl Display for ManifestFault
impl Display for ManifestFault
impl Eq for ManifestFault
Source§impl PartialEq for ManifestFault
impl PartialEq for ManifestFault
impl StructuralPartialEq for ManifestFault
Auto Trait Implementations§
impl Forget for ManifestFault
impl Freeze for ManifestFault
impl Move for ManifestFault
impl RefUnwindSafe for ManifestFault
impl Send for ManifestFault
impl Sync for ManifestFault
impl Unpin for ManifestFault
impl UnsafeUnpin for ManifestFault
impl UnwindSafe for ManifestFault
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