Struct error_code::SystemCategory [−][src]
pub struct SystemCategory;
Expand description
System error category, suitable for all environments.
On UNIX system it is equivalent of Posix
On Windows it uses winapi error functions
Trait Implementations
impl Category for SystemCategory[src]
impl Category for SystemCategory[src]impl IntoCategory<SystemCategory> for PosixCategory[src]
impl IntoCategory<SystemCategory> for PosixCategory[src]fn map_code(code: ErrorCode<Self>) -> ErrorCode<SystemCategory>[src]
fn map_code(code: ErrorCode<Self>) -> ErrorCode<SystemCategory>[src]Converts error from category into own category.
Auto Trait Implementations
impl RefUnwindSafe for SystemCategory
impl Send for SystemCategory
impl Sync for SystemCategory
impl Unpin for SystemCategory
impl UnwindSafe for SystemCategory
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> IntoCategory<T> for T where
T: Category, [src]
impl<T> IntoCategory<T> for T where
T: Category, [src]