pub enum ImageUnavailableReason {
SourceUnavailable,
InvalidDataUri,
UnsupportedContainer,
DecodeFailed,
ResourceLimit,
}Expand description
Why source-image inspection could not produce decoded metadata.
Variants§
The source does not make the image payload available to the loader.
InvalidDataUri
A data URI could not be parsed or decoded.
UnsupportedContainer
The image container is not supported for inspection.
DecodeFailed
Supported image bytes could not be decoded.
ResourceLimit
Inspection declined the resource because it exceeded a resource limit.
Trait Implementations§
Source§fn clone(&self) -> ImageUnavailableReason
fn clone(&self) -> ImageUnavailableReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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