pub struct JanusError {
pub code: i32,
}
Expand description
An error emitted by the Janus core in response to a plugin pushing an event.
Fields§
§code: i32
Implementations§
Source§impl JanusError
impl JanusError
Trait Implementations§
Source§impl Clone for JanusError
impl Clone for JanusError
Source§fn clone(&self) -> JanusError
fn clone(&self) -> JanusError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JanusError
impl Debug for JanusError
Source§impl Display for JanusError
impl Display for JanusError
Source§impl Error for JanusError
impl Error for JanusError
1.30.0 · Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for JanusError
Auto Trait Implementations§
impl Freeze for JanusError
impl RefUnwindSafe for JanusError
impl Send for JanusError
impl Sync for JanusError
impl Unpin for JanusError
impl UnwindSafe for JanusError
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