Lines Matching defs:Error
8 pub enum Error { enum
51 impl StdError for Error {} implementation
53 impl fmt::Display for Error { implementation
84 fn mul(self, other: Self) -> Result<Self, Error>; in mul() argument
85 fn add(self, other: Self) -> Result<Self, Error>; in add() argument
89 fn mul(self, other: Self) -> Result<Self, Error> { in mul() argument
92 fn add(self, other: Self) -> Result<Self, Error> { in add() argument
108 fn parse_first_char(&mut self) -> Result<Option<u64>, Error> { in parse_first_char() argument
124 -> Result<(), Error> in parse_unit() argument
156 fn parse(mut self) -> Result<Duration, Error> { in parse() argument
230 pub fn parse_duration(s: &str) -> Result<Duration, Error> { in parse_duration() argument