IntoInternalOption

Trait IntoInternalOption 

Source
pub trait IntoInternalOption<T> {
    // Required method
    fn ok_or_internal(self, _: impl Display) -> Result<T, InternalError>;
}

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl<T> IntoInternalOption<T> for Option<T>

Implementors§