TryApplyGetFut

Trait TryApplyGetFut 

Source
pub trait TryApplyGetFut: TryGetFut {
    // Required method
    fn apply_to(
        self,
        val: Self::Input,
    ) -> Result<(Pin<Box<impl Future<Output = Self::Output>>>, Self::Aux), (Self::Input, Self::Error)>;
}
Expand description

An extension trait to call crate::try_get

Required Methods§

Source

fn apply_to( self, val: Self::Input, ) -> Result<(Pin<Box<impl Future<Output = Self::Output>>>, Self::Aux), (Self::Input, Self::Error)>

Just calls crate::try_get

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.

Implementors§