pub struct Limits {
pub max_bytes: usize,
pub max_frames: usize,
}Expand description
How much of a file the walk is allowed to read.
The structural walk and optional single-frame precision confirmation must stay bounded over a large library. Padding is a property of the whole file; the quick result describes only the frames examined.
Fields§
§max_bytes: usizeBytes of encoded audio to read at most.
max_frames: usizeFrames to walk at most.
Implementations§
Trait Implementations§
impl Copy for Limits
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin 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