Lines Matching defs:Error
10 pub struct Error { struct
11 kind: ErrorKind, argument
14 impl error::Error for Error { implementation
19 fn cause(&self) -> Option<&error::Error> { in cause()
29 impl fmt::Display for Error { implementation
30 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() method
53 pub fn from_exit(status: process::ExitStatus) -> Error { in from_exit()
59 pub fn from_io(e: io::Error) -> Error { in from_io()
65 pub fn from_num(e: num::ParseIntError) -> Error { in from_num()
71 pub fn from_utf8(e: str::Utf8Error) -> Error { in from_utf8()
77 pub fn from_str(s: &'static str) -> Error { in from_str()