ApplyGetFut

Trait ApplyGetFut 

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

An extension trait to call crate::get

Required Methods§

Source

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

Just calls crate::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§