pub(super) struct AssignmentWorkflow<'a, R, P, C, T> {
runtime: &'a RuntimeState,
filters: &'a Arc<RwLock<FastMap<u64, GuildFilter>>>,
repository: R,
publisher: P,
clock: C,
claim_tokens: T,
}Fields§
§runtime: &'a RuntimeState§filters: &'a Arc<RwLock<FastMap<u64, GuildFilter>>>§repository: R§publisher: P§clock: C§claim_tokens: TImplementations§
Source§impl<R, P, C, T> AssignmentWorkflow<'_, R, P, C, T>
impl<R, P, C, T> AssignmentWorkflow<'_, R, P, C, T>
pub(super) async fn run(&self) -> Result<AssignmentRound, AssignmentError>
async fn initialize_runtimes( &self, plan: &JobPlan, ) -> Result<usize, AssignmentError>
Auto Trait Implementations§
impl<'a, R, P, C, T> Freeze for AssignmentWorkflow<'a, R, P, C, T>
impl<'a, R, P, C, T> !RefUnwindSafe for AssignmentWorkflow<'a, R, P, C, T>
impl<'a, R, P, C, T> Send for AssignmentWorkflow<'a, R, P, C, T>
impl<'a, R, P, C, T> Sync for AssignmentWorkflow<'a, R, P, C, T>
impl<'a, R, P, C, T> Unpin for AssignmentWorkflow<'a, R, P, C, T>
impl<'a, R, P, C, T> UnsafeUnpin for AssignmentWorkflow<'a, R, P, C, T>
impl<'a, R, P, C, T> !UnwindSafe for AssignmentWorkflow<'a, R, P, C, T>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more