Trait errno_codes::GetMappings [−][src]
pub trait GetMappings { fn get_by_id_mapping(&self) -> &'static Map<&'static str, ErrnoCode>; fn get_by_num_mapping(&self) -> &'static Map<c_int, ErrnoCodes>; }
Required Methods
fn get_by_id_mapping(&self) -> &'static Map<&'static str, ErrnoCode>
Get identifier string <-> ErrnoCode
mapping for this type.
fn get_by_num_mapping(&self) -> &'static Map<c_int, ErrnoCodes>
Get numeric constant <-> ErrnoCode
mapping for this type.