Skip to main content

OptionLog

Trait OptionLog 

Source
pub(crate) trait OptionLog {
    // Required method
    fn log_none<F: FnOnce()>(self, f: F) -> Self;
}

Required Methods§

Source

fn log_none<F: FnOnce()>(self, f: F) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> OptionLog for Option<T>

Source§

fn log_none<F: FnOnce()>(self, f: F) -> Self

Implementors§