pub struct ReadAudioOptions {
pub max_encoded_bytes: usize,
pub decode: DecodeOptions,
}Expand description
Limits for the whole-file convenience reader. Encoded bytes and decoded PCM have separate budgets; codec-specific limits still apply during decoding.
Fields§
§max_encoded_bytes: usizeMaximum encoded file bytes; exact equality is accepted. Defaults to 512 MiB.
decode: DecodeOptionsDecoder format override and decoded PCM/shape limits.
Trait Implementations§
Source§impl Clone for ReadAudioOptions
impl Clone for ReadAudioOptions
Source§fn clone(&self) -> ReadAudioOptions
fn clone(&self) -> ReadAudioOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadAudioOptions
impl Debug for ReadAudioOptions
Auto Trait Implementations§
impl Freeze for ReadAudioOptions
impl RefUnwindSafe for ReadAudioOptions
impl Send for ReadAudioOptions
impl Sync for ReadAudioOptions
impl Unpin for ReadAudioOptions
impl UnsafeUnpin for ReadAudioOptions
impl UnwindSafe for ReadAudioOptions
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