Struct opus::Error
[−]
[src]
pub struct Error { /* fields omitted */ }
An error generated by the Opus library.
Methods
impl Error
[src]
fn function(&self) -> &'static str
Get the name of the Opus function from which the error originated.
fn description(&self) -> &'static str
Get a textual description of the error provided by Opus.
fn code(&self) -> ErrorCode
Get the Opus error code of the error.