pub trait Resolvable: TypedValue {
    fn resolve_refs<'life0, 'life1, 'async_trait, R: Resolver + Send + Sync>(
        &'life0 mut self,
        _resolver: &'life1 R
    ) -> Pin<Box<dyn Future<Output = Result<(), MissingRefsError>> + Send + 'async_trait>>
    where
        R: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: Send + 'async_trait
, { ... } fn extract_refs(&mut self) -> Vec<UntypedRecord> { ... } }
Expand description

A trait to be implemented on TypedValue structs that contain reference fields.

Provided Methods

Resolve all reference with the passed resolver.

Extract all loaded records from resolved references, resetting them to their id state.

Implementors