pub trait Warn where
    Self: Sized
{ type Value; fn or_warn<H: Handler>(
        self,
        handler: &mut H,
        level: Problem,
        message: &str
    ) -> Option<Self::Value>; fn or_print(self, level: Problem, message: &str) -> Option<Self::Value> { ... } }
Expand description

Sugar for logging errors in results.

Required Associated Types

Required Methods

Approach 3.

Provided Methods

Approach 2.

Implementations on Foreign Types

Implementors