pub enum ParseErrorCode {
Xml = 2_001,
Json = 2_002,
Encoding = 2_003,
MissingElement = 2_101,
InvalidAttribute = 2_102,
InvalidNamespace = 2_103,
UnsupportedVersion = 2_104,
}Expand description
解析错误码(2000-2999)
Variants§
Xml = 2_001
数据解析错误(2000-2099)
Json = 2_002
Encoding = 2_003
MissingElement = 2_101
结构解析错误(2100-2199)
InvalidAttribute = 2_102
InvalidNamespace = 2_103
UnsupportedVersion = 2_104
Trait Implementations§
Source§impl Clone for ParseErrorCode
impl Clone for ParseErrorCode
Source§fn clone(&self) -> ParseErrorCode
fn clone(&self) -> ParseErrorCode
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 ParseErrorCode
impl Debug for ParseErrorCode
impl Eq for ParseErrorCode
Source§impl Hash for ParseErrorCode
impl Hash for ParseErrorCode
Source§impl PartialEq for ParseErrorCode
impl PartialEq for ParseErrorCode
Source§fn eq(&self, other: &ParseErrorCode) -> bool
fn eq(&self, other: &ParseErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseErrorCode
Auto Trait Implementations§
impl Freeze for ParseErrorCode
impl RefUnwindSafe for ParseErrorCode
impl Send for ParseErrorCode
impl Sync for ParseErrorCode
impl Unpin for ParseErrorCode
impl UnsafeUnpin for ParseErrorCode
impl UnwindSafe for ParseErrorCode
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.