#[non_exhaustive]pub enum LimitKind {
FileSize,
MemoryBudget,
EventCount,
NestingDepth,
CssSize,
FontLimit,
}Expand description
Kinds of limits that can be exceeded.
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.
FileSize
File size limit.
MemoryBudget
Memory budget limit.
EventCount
Token/event count limit.
NestingDepth
Nesting depth limit.
CssSize
CSS stylesheet size limit.
FontLimit
Font count/size limit.
Trait Implementations§
impl Copy for LimitKind
impl Eq for LimitKind
impl StructuralPartialEq for LimitKind
Auto Trait Implementations§
impl Freeze for LimitKind
impl RefUnwindSafe for LimitKind
impl Send for LimitKind
impl Sync for LimitKind
impl Unpin for LimitKind
impl UnsafeUnpin for LimitKind
impl UnwindSafe for LimitKind
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