Skip to main content

MaybeAbsent

Trait MaybeAbsent 

Source
pub trait MaybeAbsent<A: Alignment>: ArgumentSource<A> {
    // Provided method
    fn on_missing<P>(self, policy: P) -> WithMissing<A, Self, P>
       where Self: Sized,
             P: MissingPolicy<A, Self> { ... }
}

Provided Methods§

Source

fn on_missing<P>(self, policy: P) -> WithMissing<A, Self, P>
where Self: Sized, P: MissingPolicy<A, Self>,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§