Struct error_code::PosixCategory [−][src]
pub struct PosixCategory;
Expand description
Posix error category, suitable for all environments.
In presence of OS, it means it identifies POSIX error codes.
Trait Implementations
impl Category for PosixCategory[src]
impl Category for PosixCategory[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 PosixCategory
impl Send for PosixCategory
impl Sync for PosixCategory
impl Unpin for PosixCategory
impl UnwindSafe for PosixCategory
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]