#[non_exhaustive]pub struct Limits {
pub max_bytes: usize,
pub max_depth: usize,
pub max_elements: usize,
pub max_attribute_bytes: usize,
pub max_attributes: usize,
pub max_periods: usize,
pub max_adaptation_sets: usize,
pub max_representations: usize,
pub max_timeline_entries: usize,
pub max_base_urls: usize,
pub max_segment_urls: usize,
}Expand description
The bounds applied by crate::Mpd::parse_with; Default is the MAX_*
constants above.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_bytes: usizeSee MAX_MPD_BYTES.
max_depth: usizeSee MAX_XML_DEPTH.
max_elements: usizeSee MAX_XML_ELEMENTS.
max_attribute_bytes: usizeSee MAX_ATTRIBUTE_BYTES.
max_attributes: usize§max_periods: usizeSee MAX_PERIODS.
max_adaptation_sets: usize§max_representations: usize§max_timeline_entries: usizeSee MAX_TIMELINE_ENTRIES.
max_base_urls: usize§max_segment_urls: usizeSee MAX_SEGMENT_URLS.
Implementations§
Trait Implementations§
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Forget for Limits
impl Freeze for Limits
impl Move for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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