pub struct QueueBootstrapper;Expand description
Sets the queue namespace from the tenant slug.
Implementations§
Trait Implementations§
Source§impl Bootstrapper for QueueBootstrapper
impl Bootstrapper for QueueBootstrapper
Source§fn bootstrap<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 TenantContext,
) -> Pin<Box<dyn Future<Output = Result<(), TenancyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn bootstrap<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 TenantContext,
) -> Pin<Box<dyn Future<Output = Result<(), TenancyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Called when a tenant lifecycle starts; only writes tenant scoped state into
context.Auto Trait Implementations§
impl Forget for QueueBootstrapper
impl Freeze for QueueBootstrapper
impl Move for QueueBootstrapper
impl RefUnwindSafe for QueueBootstrapper
impl Send for QueueBootstrapper
impl Sync for QueueBootstrapper
impl Unpin for QueueBootstrapper
impl UnsafeUnpin for QueueBootstrapper
impl UnwindSafe for QueueBootstrapper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more