Home
last modified time | relevance | path

Searched defs:ErrorKind (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/
H A Derror.rs68 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 { enum
140 impl ErrorKind { impl
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/
H A Derror.rs84 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 { enum
247 impl ErrorKind { implementation
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/
H A Derror.rs61 pub enum ErrorKind { enum
78 impl ErrorKind { implementation
125 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()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/
H A Derror.rs73 pub(crate) enum ErrorKind { enum
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Dstate.rs150 pub(crate) fn turning_to_finish(&self) -> Result<usize, ErrorKind> { in turning_to_finish() argument