Struct janus_plugin::JanusError[][src]

pub struct JanusError {
    pub code: i32,
}

An error emitted by the Janus core in response to a plugin pushing an event.

Fields

Methods

impl JanusError
[src]

Returns Janus's description text for this error.

Converts a Janus result code to either success or a potential error.

Trait Implementations

impl Debug for JanusError
[src]

Formats the value using the given formatter. Read more

impl Clone for JanusError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for JanusError
[src]

impl Error for JanusError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for JanusError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for JanusError

impl Sync for JanusError