IfNotFound

Trait IfNotFound 

Source
pub trait IfNotFound {
    type Target;

    // Required method
    fn if_not_found<F: FnOnce() -> Self::Target>(
        self,
        f: F,
    ) -> ProcessResult<Self::Target>;
}

Required Associated Types§

Required Methods§

Source

fn if_not_found<F: FnOnce() -> Self::Target>( self, f: F, ) -> ProcessResult<Self::Target>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§