Skip to main content

Resolve

Trait Resolve 

Source
pub trait Resolve<C>: Sized {
    // Required method
    fn resolve(context: &mut C) -> impl Future<Output = Result<Self>> + Send;
}

Required Methods§

Source

fn resolve(context: &mut C) -> impl Future<Output = Result<Self>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<C: Context> Resolve<C> for Clock

Source§

fn resolve(context: &mut C) -> impl Future<Output = Result<Self>> + Send

Source§

impl<C: Writes, V: InputValue + Send> Resolve<C> for Option<V>

Source§

fn resolve(context: &mut C) -> impl Future<Output = Result<Self>> + Send

Implementors§

Source§

impl<C: Context> Resolve<C> for Read