#[non_exhaustive]pub enum Limit {
InputBytes,
Depth,
Elements,
AttributeBytes,
Attributes,
Periods,
AdaptationSets,
Representations,
TimelineEntries,
BaseUrls,
SegmentUrls,
}Expand description
Which bound of crate::limits::Limits was 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.
InputBytes
Document size in bytes.
Depth
Element nesting depth.
Elements
Total element count.
AttributeBytes
Length of one attribute value.
Attributes
Attributes on one element.
Periods
Period count.
AdaptationSets
AdaptationSet count in one Period.
Representations
Representation count in one AdaptationSet.
TimelineEntries
S entries in one SegmentTimeline.
BaseUrls
BaseURL alternates on one level.
SegmentUrls
SegmentURL entries in one SegmentList.
Implementations§
Trait Implementations§
impl Copy for Limit
impl Eq for Limit
impl StructuralPartialEq for Limit
Auto Trait Implementations§
impl Freeze for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnsafeUnpin for Limit
impl UnwindSafe for Limit
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