[src]

Struct std::io::IoError

pub struct IoError {
    kind: IoErrorKind,
    desc: &'static str,
    detail: Option<~str>,
}

The type passed to I/O condition handlers to indicate error

FIXME

Is something like this sufficient? It's kind of archaic

Fields

kind

An enumeration which can be matched against for determining the flavor of error.

desc

A human-readable description about the error

detail

Detailed information about this error, not always available

Trait Implementations

impl Show for IoError

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

Derived Implementations

impl Clone for IoError

fn clone(&self) -> IoError

Returns a copy of the value. The contents of owned pointers are copied to maintain uniqueness, while the contents of managed pointers are not copied.

fn clone_from(&mut self, source: &Self)

Perform copy-assignment from source.

a.clone_from(&b) is equivalent to a = b.clone() in functionality, but can be overridden to reuse the resources of a to avoid unnecessary allocations.

impl Eq for IoError

fn eq(&self, __arg_0: &IoError) -> bool

fn ne(&self, __arg_0: &IoError) -> bool