pub enum FormatErrorCode {
InvalidFormat = 3_001,
UnsupportedFormat = 3_002,
VersionMismatch = 3_003,
InvalidReference = 3_101,
InvalidValue = 3_102,
OutOfRange = 3_103,
}Expand description
数据格式错误码(3000-3999)
Variants§
InvalidFormat = 3_001
通用格式错误(3000-3099)
UnsupportedFormat = 3_002
VersionMismatch = 3_003
InvalidReference = 3_101
数据验证错误(3100-3199)
InvalidValue = 3_102
OutOfRange = 3_103
Trait Implementations§
Source§impl Clone for FormatErrorCode
impl Clone for FormatErrorCode
Source§fn clone(&self) -> FormatErrorCode
fn clone(&self) -> FormatErrorCode
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 FormatErrorCode
impl Debug for FormatErrorCode
impl Eq for FormatErrorCode
Source§impl Hash for FormatErrorCode
impl Hash for FormatErrorCode
Source§impl PartialEq for FormatErrorCode
impl PartialEq for FormatErrorCode
Source§fn eq(&self, other: &FormatErrorCode) -> bool
fn eq(&self, other: &FormatErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FormatErrorCode
Auto Trait Implementations§
impl Freeze for FormatErrorCode
impl RefUnwindSafe for FormatErrorCode
impl Send for FormatErrorCode
impl Sync for FormatErrorCode
impl Unpin for FormatErrorCode
impl UnsafeUnpin for FormatErrorCode
impl UnwindSafe for FormatErrorCode
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.