Searched refs:kind (Results 1 – 3 of 3) sorted by relevance
120 pub fn new(kind: ErrorKind) -> Error { in new()121 Error { code: kind as u32 } in new()146 pub fn kind(&self) -> ErrorKind { in kind() method178 self.kind().as_str() in message()202 fn from(kind: ErrorKind) -> Error { in from()203 Error { code: kind as u32 } in from()
151 pub fn new(kind: ErrorKind) -> Error { in new()152 Error { code: kind as u32 } in new()178 pub fn kind(&self) -> ErrorKind { in kind() method218 self.kind().as_str() in message()242 fn from(kind: ErrorKind) -> Error { in from()243 Error { code: kind as u32 } in from()
89 if e.kind() != ErrorKind::ItemNotFound { in main()
Completed in 5 milliseconds