pub struct UnsupportedSampleFormat { /* private fields */ }Expand description
Payload for ConvertError::UnsupportedSampleFormat.
The frame’s sample format has no byte width — AV_SAMPLE_FMT_NONE,
or a format newer than this build names.
Checked before the zero-sample shortcut, because a frame with no
readable format is malformed whether or not it carries samples.
Letting an empty one through returned an AudioFrame advertising a
format nothing can interpret.
Implementations§
Trait Implementations§
Source§impl Clone for UnsupportedSampleFormat
impl Clone for UnsupportedSampleFormat
Source§fn clone(&self) -> UnsupportedSampleFormat
fn clone(&self) -> UnsupportedSampleFormat
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 moreimpl Copy for UnsupportedSampleFormat
Source§impl Debug for UnsupportedSampleFormat
impl Debug for UnsupportedSampleFormat
Source§impl Display for UnsupportedSampleFormat
impl Display for UnsupportedSampleFormat
impl Eq for UnsupportedSampleFormat
Source§impl PartialEq for UnsupportedSampleFormat
impl PartialEq for UnsupportedSampleFormat
impl StructuralPartialEq for UnsupportedSampleFormat
Auto Trait Implementations§
impl Freeze for UnsupportedSampleFormat
impl RefUnwindSafe for UnsupportedSampleFormat
impl Send for UnsupportedSampleFormat
impl Sync for UnsupportedSampleFormat
impl Unpin for UnsupportedSampleFormat
impl UnsafeUnpin for UnsupportedSampleFormat
impl UnwindSafe for UnsupportedSampleFormat
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