pub enum OpusDecoderCtlError {
BadArgument,
Unimplemented,
Silk(SilkError),
}Expand description
Errors that can be emitted by opus_decoder_ctl.
Variants§
BadArgument
The provided argument is outside the range accepted by the request.
Unimplemented
The requested operation is not implemented by the decoder.
Silk(SilkError)
The request failed inside the SILK decoder.
Trait Implementations§
Source§impl Clone for OpusDecoderCtlError
impl Clone for OpusDecoderCtlError
Source§fn clone(&self) -> OpusDecoderCtlError
fn clone(&self) -> OpusDecoderCtlError
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 OpusDecoderCtlError
Source§impl Debug for OpusDecoderCtlError
impl Debug for OpusDecoderCtlError
impl Eq for OpusDecoderCtlError
Source§impl From<OpusDecoderCtlError> for DecoderBuilderError
impl From<OpusDecoderCtlError> for DecoderBuilderError
Source§fn from(value: OpusDecoderCtlError) -> Self
fn from(value: OpusDecoderCtlError) -> Self
Converts to this type from the input type.
Source§impl From<OpusDecoderCtlError> for OpusMultistreamDecoderError
impl From<OpusDecoderCtlError> for OpusMultistreamDecoderError
Source§fn from(value: OpusDecoderCtlError) -> Self
fn from(value: OpusDecoderCtlError) -> Self
Converts to this type from the input type.
Source§impl From<SilkError> for OpusDecoderCtlError
impl From<SilkError> for OpusDecoderCtlError
Source§impl PartialEq for OpusDecoderCtlError
impl PartialEq for OpusDecoderCtlError
impl StructuralPartialEq for OpusDecoderCtlError
Auto Trait Implementations§
impl Freeze for OpusDecoderCtlError
impl RefUnwindSafe for OpusDecoderCtlError
impl Send for OpusDecoderCtlError
impl Sync for OpusDecoderCtlError
impl Unpin for OpusDecoderCtlError
impl UnsafeUnpin for OpusDecoderCtlError
impl UnwindSafe for OpusDecoderCtlError
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