[−][src]Trait wayk_proto::error::ProtoErrorResultExt
Required methods
fn chain(self, kind: ProtoErrorKind) -> Result<T, ProtoError>
Provided methods
fn or_else_desc<F, S>(self, f: F) -> Result<T, ProtoError> where
F: FnOnce() -> S,
S: Into<Cow<'static, str>>,
F: FnOnce() -> S,
S: Into<Cow<'static, str>>,
fn or_desc<S>(self, desc: S) -> Result<T, ProtoError> where
S: Into<Cow<'static, str>>,
S: Into<Cow<'static, str>>,
fn source(self, src: ProtoError) -> Result<T, ProtoError>
Implementations on Foreign Types
impl<T> ProtoErrorResultExt<T> for Result<T, ProtoError>
[src]
fn or_else_desc<F, S>(self, f: F) -> Result<T, ProtoError> where
F: FnOnce() -> S,
S: Into<Cow<'static, str>>,
[src]
F: FnOnce() -> S,
S: Into<Cow<'static, str>>,
fn or_desc<S>(self, desc: S) -> Result<T, ProtoError> where
S: Into<Cow<'static, str>>,
[src]
S: Into<Cow<'static, str>>,