pub enum CommonErrorCode {
UnknownError = 9_001,
NotImplemented = 9_002,
InvalidOperation = 9_003,
Timeout = 9_004,
}Expand description
通用错误码(9000-9999)
Variants§
UnknownError = 9_001
通用错误(9000-9099)
NotImplemented = 9_002
InvalidOperation = 9_003
Timeout = 9_004
Trait Implementations§
Source§impl Clone for CommonErrorCode
impl Clone for CommonErrorCode
Source§fn clone(&self) -> CommonErrorCode
fn clone(&self) -> CommonErrorCode
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 moreSource§impl Debug for CommonErrorCode
impl Debug for CommonErrorCode
impl Eq for CommonErrorCode
Source§impl Hash for CommonErrorCode
impl Hash for CommonErrorCode
Source§impl PartialEq for CommonErrorCode
impl PartialEq for CommonErrorCode
Source§fn eq(&self, other: &CommonErrorCode) -> bool
fn eq(&self, other: &CommonErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommonErrorCode
Auto Trait Implementations§
impl Freeze for CommonErrorCode
impl RefUnwindSafe for CommonErrorCode
impl Send for CommonErrorCode
impl Sync for CommonErrorCode
impl Unpin for CommonErrorCode
impl UnsafeUnpin for CommonErrorCode
impl UnwindSafe for CommonErrorCode
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
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.