#[non_exhaustive]pub enum BundleErrorKind {
EmptyCatalog,
MissingGrammar,
Decode,
Invalid,
TooLarge,
}Expand description
Matchable cause of a bundled asset failure.
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.
EmptyCatalog
The embedded catalog has no languages.
MissingGrammar
A requested grammar or its closure is absent.
Decode
Compiled grammar data could not be decoded.
Invalid
Caller-supplied bundle bytes are malformed or failed validation.
TooLarge
Caller-supplied bundle bytes exceed the accepted size.
Trait Implementations§
Source§impl Clone for BundleErrorKind
impl Clone for BundleErrorKind
impl Copy for BundleErrorKind
Source§impl Debug for BundleErrorKind
impl Debug for BundleErrorKind
impl Eq for BundleErrorKind
Source§impl PartialEq for BundleErrorKind
impl PartialEq for BundleErrorKind
impl StructuralPartialEq for BundleErrorKind
Auto Trait Implementations§
impl Freeze for BundleErrorKind
impl RefUnwindSafe for BundleErrorKind
impl Send for BundleErrorKind
impl Sync for BundleErrorKind
impl Unpin for BundleErrorKind
impl UnsafeUnpin for BundleErrorKind
impl UnwindSafe for BundleErrorKind
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