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>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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