Skip to main content

OpusError

Trait OpusError 

Source
pub trait OpusError {
    // Required method
    fn message(&self) -> &'static str;
}
Expand description

Error from parsing opus data.

Required Methods§

Source

fn message(&self) -> &'static str

Returns the error message as it is defined by libopus.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<E: RawOpusError> OpusError for E