pub trait OrderedEnvelopeCollection: MaybeSend + MaybeSync {
// Required methods
fn order<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), ResolutionError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn order_offline(&mut self) -> Result<(), ResolutionError>;
}Expand description
A ordered envelope collection
an OrderedEnvelopeCollection differs from Sort
since it adds the including of async, allowing
an OrderedEnvelopeCollection to both
Sort and ResolveDependencies
Required Methods§
Sourcefn order<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), ResolutionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), ResolutionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Order dependencies of Self according to XIP
Sourcefn order_offline(&mut self) -> Result<(), ResolutionError>
fn order_offline(&mut self) -> Result<(), ResolutionError>
order without trying to resolve dependencies