Trait tinychain::scalar::reference::Refer [−][src]
pub trait Refer { fn requires(&self, deps: &mut HashSet<Id>); #[must_use] fn resolve<'a, 'async_trait, T: Public + Instance>(
self,
context: &'a Scope<'a, T>,
txn: &'a Txn
) -> Pin<Box<dyn Future<Output = TCResult<State>> + Send + 'async_trait>>
where
'a: 'async_trait,
T: 'async_trait,
Self: 'async_trait; }
Expand description
Trait defining dependencies and a resolution method for a TCRef
.
Required methods
fn requires(&self, deps: &mut HashSet<Id>)
[src]
Expand description
Add the dependency Id
s of this reference to the given set.
#[must_use]fn resolve<'a, 'async_trait, T: Public + Instance>(
self,
context: &'a Scope<'a, T>,
txn: &'a Txn
) -> Pin<Box<dyn Future<Output = TCResult<State>> + Send + 'async_trait>> where
'a: 'async_trait,
T: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn resolve<'a, 'async_trait, T: Public + Instance>(self,
context: &'a Scope<'a, T>,
txn: &'a Txn
) -> Pin<Box<dyn Future<Output = TCResult<State>> + Send + 'async_trait>> where
'a: 'async_trait,
T: 'async_trait,
Self: 'async_trait,
Expand description
Resolve this reference with respect to the given context.
Implementors
Loading content...