Searched defs:ErrorKind (Results 1 – 5 of 5) sorted by relevance
68 pub fn error_kind(&self) -> ErrorKind { in error_kind()76 pub(crate) fn new_with_cause<T>(kind: ErrorKind, cause: Option<T>) -> Self in new_with_cause()127 pub enum ErrorKind { enum140 impl ErrorKind { impl
84 pub fn error_kind(&self) -> ErrorKind { in error_kind()137 pub(crate) fn from_error<T>(kind: ErrorKind, err: T) -> Self in from_error()148 pub(crate) fn from_tls_error<T>(kind: ErrorKind, err: T) -> Self in from_tls_error()158 pub(crate) fn from_str(kind: ErrorKind, msg: &'static str) -> Self { in from_str()165 pub(crate) fn from_io_error(kind: ErrorKind, err: io::Error) -> Self { in from_io_error()172 pub(crate) fn from_dns_error(kind: ErrorKind, err: io::Error) -> Self { in from_dns_error()215 pub enum ErrorKind { enum247 impl ErrorKind { implementation
61 pub enum ErrorKind { enum78 impl ErrorKind { implementation125 pub fn new<E>(kind: ErrorKind, error: E) -> ScheduleError in new()132 fn _new(kind: ErrorKind, error: Box<dyn std::error::Error + Send + Sync>) -> ScheduleError { in _new()180 pub fn kind(&self) -> ErrorKind { in kind()
73 pub(crate) enum ErrorKind { enum
150 pub(crate) fn turning_to_finish(&self) -> Result<usize, ErrorKind> { in turning_to_finish() argument