Skip to main content

Composition

Trait Composition 

Source
pub trait Composition<'scope, 'd: 'scope, S, Q, O, P>
where P: Provider<'d>,
{ type Output; // Required method fn compose<'app>( self, client: P::Client<'app>, root: Anchor<'app, O>, session: &mut Session<'scope, 'd, S, Q>, ) -> Self::Output where 'd: 'app; }
Expand description

Runs one application composition around an address-stable provider root. Neither scoped input can appear in Self::Output.

Required Associated Types§

Required Methods§

Source

fn compose<'app>( self, client: P::Client<'app>, root: Anchor<'app, O>, session: &mut Session<'scope, 'd, S, Q>, ) -> Self::Output
where 'd: 'app,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§