#[repr(u32)]pub enum PluginErrorCode {
Ok = 0,
Generic = 1,
Panic = 2,
InvalidArgument = 3,
NotImplemented = 4,
AbiMismatch = 5,
SerializationFailed = 6,
}Expand description
Coarse-grained error categories for PluginError.
Encoded as u32 for stable wire representation.
Variants§
Ok = 0
Generic = 1
Panic = 2
InvalidArgument = 3
NotImplemented = 4
AbiMismatch = 5
SerializationFailed = 6
Trait Implementations§
Source§impl Clone for PluginErrorCode
impl Clone for PluginErrorCode
Source§fn clone(&self) -> PluginErrorCode
fn clone(&self) -> PluginErrorCode
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 PluginErrorCode
Source§impl Debug for PluginErrorCode
impl Debug for PluginErrorCode
impl Eq for PluginErrorCode
Source§impl PartialEq for PluginErrorCode
impl PartialEq for PluginErrorCode
Source§fn eq(&self, other: &PluginErrorCode) -> bool
fn eq(&self, other: &PluginErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PluginErrorCode
Auto Trait Implementations§
impl Freeze for PluginErrorCode
impl RefUnwindSafe for PluginErrorCode
impl Send for PluginErrorCode
impl Sync for PluginErrorCode
impl Unpin for PluginErrorCode
impl UnsafeUnpin for PluginErrorCode
impl UnwindSafe for PluginErrorCode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.