Struct unix::err::OsErr [−][src]
pub struct OsErr(pub usize);
Methods
impl OsErr
[src]
impl OsErr
pub fn from_sysret(m: isize) -> Result<usize, Self>
[src]
pub fn from_sysret(m: isize) -> Result<usize, Self>
pub fn message(self) -> &'static str
[src]
pub fn message(self) -> &'static str
Trait Implementations
impl Clone for OsErr
[src]
impl Clone for OsErr
fn clone(&self) -> OsErr
[src]
fn clone(&self) -> OsErr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for OsErr
[src]
impl Copy for OsErr
impl PartialEq for OsErr
[src]
impl PartialEq for OsErr
fn eq(&self, other: &OsErr) -> bool
[src]
fn eq(&self, other: &OsErr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &OsErr) -> bool
[src]
fn ne(&self, other: &OsErr) -> bool
This method tests for !=
.
impl Eq for OsErr
[src]
impl Eq for OsErr
impl Debug for OsErr
[src]
impl Debug for OsErr
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<usize> for OsErr
[src]
impl From<usize> for OsErr
impl From<EndOfFile> for OsErr
[src]
impl From<EndOfFile> for OsErr
impl From<NoMemory> for OsErr
[src]
impl From<NoMemory> for OsErr