pub struct CeremonyWorkerHost { /* private fields */ }Expand description
Reference host pass: page ceremonies, claim through application, then drain work.
Implementations§
Source§impl CeremonyWorkerHost
impl CeremonyWorkerHost
pub const fn new( claims: Arc<ClaimCeremonyWorkUseCase>, driver: Arc<CeremonyWorkerDriver>, ) -> Self
pub async fn run_claim_page( &self, input: ClaimCeremonyWorkInput, ) -> Result<CeremonyWorkerHostOutcome, DomainError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CeremonyWorkerHost
impl !UnwindSafe for CeremonyWorkerHost
impl Freeze for CeremonyWorkerHost
impl Send for CeremonyWorkerHost
impl Sync for CeremonyWorkerHost
impl Unpin for CeremonyWorkerHost
impl UnsafeUnpin for CeremonyWorkerHost
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