Home
last modified time | relevance | path

Searched refs:Repr (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/
H A Derror.rs21 repr: Repr,
33 Repr::Simple(kind) => write!(f, "{}", kind.as_str()), in fmt()
39 enum Repr { enum
44 impl Debug for Repr { implementation
48 Repr::Custom(ref c) => std::fmt::Debug::fmt(&c, f), in fmt()
106 repr: Repr::Simple(kind), in from()
134 repr: Repr::Custom(Box::new(Custom { kind, error })), in _new()
159 Repr::Simple(..) => None, in into_inner()
160 Repr::Custom(c) => Some(c.error), in into_inner()
182 Repr::Simple(kind) => kind, in kind()
[all …]