pub enum SystemErrorCode {
NotFound = 1_001,
PermissionDenied = 1_002,
Corrupted = 1_003,
IoError = 1_100,
ZipError = 1_101,
NetworkError = 1_102,
}Expand description
系统级错误码(1000-1999)
Variants§
NotFound = 1_001
文件系统错误(1000-1099)
PermissionDenied = 1_002
Corrupted = 1_003
IoError = 1_100
IO错误(1100-1199)
ZipError = 1_101
NetworkError = 1_102
Trait Implementations§
Source§impl Clone for SystemErrorCode
impl Clone for SystemErrorCode
Source§fn clone(&self) -> SystemErrorCode
fn clone(&self) -> SystemErrorCode
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 SystemErrorCode
impl Debug for SystemErrorCode
impl Eq for SystemErrorCode
Source§impl Hash for SystemErrorCode
impl Hash for SystemErrorCode
Source§impl PartialEq for SystemErrorCode
impl PartialEq for SystemErrorCode
Source§fn eq(&self, other: &SystemErrorCode) -> bool
fn eq(&self, other: &SystemErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SystemErrorCode
Auto Trait Implementations§
impl Freeze for SystemErrorCode
impl RefUnwindSafe for SystemErrorCode
impl Send for SystemErrorCode
impl Sync for SystemErrorCode
impl Unpin for SystemErrorCode
impl UnsafeUnpin for SystemErrorCode
impl UnwindSafe for SystemErrorCode
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.