Skip to main content

IntoFaillble

Trait IntoFaillble 

Source
pub trait IntoFaillble<O, E>: Future<Output = O> + Sized {
    // Provided method
    async fn into_fallible(self) -> Result<O, E> { ... }
}

Provided Methods§

Source

async fn into_fallible(self) -> Result<O, E>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T, O, E> IntoFaillble<O, E> for T
where T: Future<Output = O>,