[][src]Trait i3status_rs::errors::OptionExt

pub trait OptionExt<T> {
    fn block_error(self, block: &str, message: &str) -> Result<T, Error>;
fn internal_error(self, context: &str, message: &str) -> Result<T, Error>; }

Required methods

fn block_error(self, block: &str, message: &str) -> Result<T, Error>[src]

fn internal_error(self, context: &str, message: &str) -> Result<T, Error>[src]

Loading content...

Implementations on Foreign Types

impl<T> OptionExt<T> for Option<T>[src]

Loading content...

Implementors

Loading content...