i3status_rs::errors

Trait ToSerdeError

source
pub trait ToSerdeError<T> {
    // Required method
    fn serde_error<E: Error>(self) -> Result<T, E>;
}

Required Methods§

source

fn serde_error<E: Error>(self) -> Result<T, E>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, F> ToSerdeError<T> for Result<T, F>
where F: Display,