Skip to main content

AnyhowResultExt

Trait AnyhowResultExt 

Source
pub trait AnyhowResultExt<T> {
    // Required methods
    unsafe fn now_unchecked_release(self) -> T;
    fn now_checked(self) -> Option<T>;
}

Required Methods§

Source

unsafe fn now_unchecked_release(self) -> T

Source

fn now_checked(self) -> Option<T>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: Debug> AnyhowResultExt<T> for Result<T>

Source§

unsafe fn now_unchecked_release(self) -> T

Source§

fn now_checked(self) -> Option<T>

Implementors§