Trait agency::Setup [−][src]
pub trait Setup: Actor { type Args: Send + Sync; #[must_use] fn setup<'life0, 'async_trait>(
ctx: &'life0 mut Context<Self>,
args: Self::Args
) -> Pin<Box<dyn Future<Output = Option<Self>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Associated Types
Loading content...Required methods
#[must_use]fn setup<'life0, 'async_trait>(
ctx: &'life0 mut Context<Self>,
args: Self::Args
) -> Pin<Box<dyn Future<Output = Option<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn setup<'life0, 'async_trait>(ctx: &'life0 mut Context<Self>,
args: Self::Args
) -> Pin<Box<dyn Future<Output = Option<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,