pub enum BroadcastMessage {
QueueUpdate {
queue_name: String,
stats: QueueStats,
},
JobUpdate {
job: JobUpdate,
},
SystemAlert {
message: String,
severity: AlertSeverity,
},
JobArchived {
job_id: String,
queue: String,
reason: ArchivalReason,
},
JobRestored {
job_id: String,
queue: String,
restored_by: Option<String>,
},
BulkArchiveStarted {
operation_id: String,
estimated_jobs: u64,
},
BulkArchiveProgress {
operation_id: String,
jobs_processed: u64,
total: u64,
},
BulkArchiveCompleted {
operation_id: String,
stats: ArchivalStats,
},
JobsPurged {
count: u64,
older_than: DateTime<Utc>,
},
}Expand description
Internal broadcast messages
Variants§
QueueUpdate
JobUpdate
SystemAlert
JobArchived
JobRestored
BulkArchiveStarted
BulkArchiveProgress
BulkArchiveCompleted
JobsPurged
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BroadcastMessage
impl RefUnwindSafe for BroadcastMessage
impl Send for BroadcastMessage
impl Sync for BroadcastMessage
impl Unpin for BroadcastMessage
impl UnsafeUnpin for BroadcastMessage
impl UnwindSafe for BroadcastMessage
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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