pub struct FileHint {
pub known_incompressible: bool,
pub audio: Option<AudioFormat>,
pub chunk_offset: u64,
}Expand description
What we know about a chunk before looking at its bytes.
Fields§
§known_incompressible: boolExtension matched the incompressible list, so skip the probe entirely.
audio: Option<AudioFormat>The file is uncompressed PCM with this layout, so the audio coder applies. Detected once per file from its container header.
chunk_offset: u64Where this chunk starts in the file. The audio coder needs it to find frame boundaries, since chunks do not respect them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileHint
impl RefUnwindSafe for FileHint
impl Send for FileHint
impl Sync for FileHint
impl Unpin for FileHint
impl UnsafeUnpin for FileHint
impl UnwindSafe for FileHint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more