[−][src]Trait perde_core::error::Convert
Required methods
fn de<E>(self) -> Result<T, E> where
E: Error,
Self: Sized,
E: Error,
Self: Sized,
fn ser<E>(self) -> Result<T, E> where
E: Error,
Self: Sized,
E: Error,
Self: Sized,
fn restore(self) -> Option<T> where
Self: Sized,
Self: Sized,
fn context<C>(self, context: C) -> Result<T> where
C: Display + Send + Sync + 'static,
C: Display + Send + Sync + 'static,
fn with_context<C, F>(self, f: F) -> Result<T> where
C: Display + Send + Sync + 'static,
F: FnOnce() -> C,
C: Display + Send + Sync + 'static,
F: FnOnce() -> C,
Implementors
impl<T> Convert<T> for Result<T>
[src]
fn de<E>(self) -> Result<T, E> where
E: Error,
Self: Sized,
[src]
E: Error,
Self: Sized,
fn ser<E>(self) -> Result<T, E> where
E: Error,
Self: Sized,
[src]
E: Error,
Self: Sized,
fn restore(self) -> Option<T>
[src]
fn context<C>(self, context: C) -> Result<T> where
C: Display + Send + Sync + 'static,
[src]
C: Display + Send + Sync + 'static,
fn with_context<C, F>(self, f: F) -> Result<T> where
C: Display + Send + Sync + 'static,
F: FnOnce() -> C,
[src]
C: Display + Send + Sync + 'static,
F: FnOnce() -> C,