Enum Oversampler Error
pub enum OversamplerError {
InvalidMaximumFrames,
InvalidBlock,
}Expand description
Invalid StereoOversampler preparation or block.
Variants§
InvalidMaximumFrames
maximum_frames is zero or above 65,536.
InvalidBlock
Channel lengths differ, a block exceeds the prepared maximum, or the downsampling outputs do not match the last upsampled block.
Trait Implementations§
§impl Clone for OversamplerError
impl Clone for OversamplerError
§fn clone(&self) -> OversamplerError
fn clone(&self) -> OversamplerError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OversamplerError
§impl Debug for OversamplerError
impl Debug for OversamplerError
§impl Display for OversamplerError
impl Display for OversamplerError
impl Eq for OversamplerError
§impl Error for OversamplerError
impl Error for OversamplerError
1.30.0 · §fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · §fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
§impl PartialEq for OversamplerError
impl PartialEq for OversamplerError
impl StructuralPartialEq for OversamplerError
Auto Trait Implementations§
impl Freeze for OversamplerError
impl RefUnwindSafe for OversamplerError
impl Send for OversamplerError
impl Sync for OversamplerError
impl Unpin for OversamplerError
impl UnsafeUnpin for OversamplerError
impl UnwindSafe for OversamplerError
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more