object::read

Trait ReadError

Source
trait ReadError<T> {
    // Required method
    fn read_error(self, error: &'static str) -> Result<T>;
}

Required Methods§

Source

fn read_error(self, error: &'static str) -> Result<T>

Implementations on Foreign Types§

Source§

impl<T> ReadError<T> for Option<T>

Source§

fn read_error(self, error: &'static str) -> Result<T>

Source§

impl<T> ReadError<T> for Result<T, ()>

Source§

fn read_error(self, error: &'static str) -> Result<T>

Source§

impl<T> ReadError<T> for Result<T, Error>

Source§

fn read_error(self, error: &'static str) -> Result<T>

Implementors§