#[non_exhaustive]pub enum UnsupportedKind {
NotYetImplemented(Format),
ZipContainer,
Gif,
Tiff,
IsoBaseMedia,
Mp3,
Ogg,
Flac,
OtherRiff,
Xml,
}Expand description
A format strypt can identify but cannot yet process.
Naming it is worth the small amount of detection code: “this is an OpenXML document,
which arrives in Phase 2” is actionable, where “unrecognised” sends the user away
believing their file is exotic when it is merely out of scope.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NotYetImplemented(Format)
A format strypt identifies and has a place for, but whose handler has not landed yet.
Distinct from the Phase 2 formats below, because the advice differs: “not in this release” versus “not in this phase of the project”.
ZipContainer
A ZIP container, which may be an Office document, an ODF document, or an archive.
Gif
GIF.
Tiff
TIFF.
IsoBaseMedia
An ISO base-media file: MP4, M4A, HEIF, AVIF.
Mp3
An MP3 audio file.
Ogg
An Ogg container.
Flac
A FLAC audio file.
OtherRiff
A RIFF container that is not WebP, such as WAV or AVI.
Xml
SVG or another XML document.
Trait Implementations§
Source§impl Clone for UnsupportedKind
impl Clone for UnsupportedKind
Source§fn clone(&self) -> UnsupportedKind
fn clone(&self) -> UnsupportedKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for UnsupportedKind
Source§impl Debug for UnsupportedKind
impl Debug for UnsupportedKind
Source§impl Display for UnsupportedKind
impl Display for UnsupportedKind
impl Eq for UnsupportedKind
Source§impl PartialEq for UnsupportedKind
impl PartialEq for UnsupportedKind
impl StructuralPartialEq for UnsupportedKind
Auto Trait Implementations§
impl Freeze for UnsupportedKind
impl RefUnwindSafe for UnsupportedKind
impl Send for UnsupportedKind
impl Sync for UnsupportedKind
impl Unpin for UnsupportedKind
impl UnsafeUnpin for UnsupportedKind
impl UnwindSafe for UnsupportedKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.