Trait tinychain::scalar::reference::Refer [−][src]
Trait defining dependencies and a resolution method for a TCRef
.
Required methods
fn requires(&self, deps: &mut HashSet<Id>)
[src]
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]
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,
Resolve this reference with respect to the given context.
Implementors
impl Refer for Scalar
[src]
fn requires(&self, deps: &mut HashSet<Id>)
[src]
fn resolve<'a, 'async_trait, T: Instance + Public>(
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]
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,
impl Refer for TCRef
[src]
fn requires(&self, deps: &mut HashSet<Id>)
[src]
fn resolve<'a, 'async_trait, T: Instance + Public>(
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]
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,
impl Refer for OpRef
[src]
fn requires(&self, deps: &mut HashSet<Id>)
[src]
fn resolve<'a, 'async_trait, T: Instance + Public>(
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]
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,
impl Refer for State
[src]
fn requires(&self, deps: &mut HashSet<Id>)
[src]
fn resolve<'a, 'async_trait, T: Instance + Public>(
self,
context: &'a Scope<'a, T>,
txn: &'a Txn
) -> Pin<Box<dyn Future<Output = TCResult<Self>> + Send + 'async_trait>> where
'a: 'async_trait,
T: 'async_trait,
Self: 'async_trait,
[src]
self,
context: &'a Scope<'a, T>,
txn: &'a Txn
) -> Pin<Box<dyn Future<Output = TCResult<Self>> + Send + 'async_trait>> where
'a: 'async_trait,
T: 'async_trait,
Self: 'async_trait,
impl Refer for IdRef
[src]
fn requires(&self, deps: &mut HashSet<Id>)
[src]
fn resolve<'a, 'async_trait, T: Instance + Public>(
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]
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,
impl Refer for After
[src]
fn requires(&self, deps: &mut HashSet<Id>)
[src]
fn resolve<'a, 'async_trait, T: Instance + Public>(
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]
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,
impl Refer for Case
[src]
fn requires(&self, deps: &mut HashSet<Id>)
[src]
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]
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,