pub(crate) trait UnwrapValidatedExt<T> {
    // Required method
    fn unwrap_validated(self) -> T;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<T> UnwrapValidatedExt<T> for Option<T>

source§

fn unwrap_validated(self) -> T

Indicate that we can assume this Option to be Some(_) due to prior validation

source§

impl<T, E: Debug> UnwrapValidatedExt<T> for Result<T, E>

source§

fn unwrap_validated(self) -> T

Indicate that we can assume this Result to be Ok(_) due to prior validation

Implementors§