Trait grafix_toolbox::lib::logging::UniformUnwrap
source · pub trait UniformUnwrap<T>: Sized {
// Required methods
fn uni_is_err(&self) -> bool;
fn uni_or_else(self, op: impl FnOnce(&str) -> T) -> T;
fn sink(self);
// Provided method
fn fail(self) -> T { ... }
}Required Methods§
fn uni_is_err(&self) -> bool
fn uni_or_else(self, op: impl FnOnce(&str) -> T) -> T
fn sink(self)
Provided Methods§
Object Safety§
This trait is not object safe.