pub struct IoError { kind: IoErrorKind, desc: &'static str, detail: Option<~str>, }
The type passed to I/O condition handlers to indicate error
Is something like this sufficient? It's kind of archaic
impl ToStr for IoError
fn to_str(&self) -> ~str
Converts the value of self
to an owned string
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).