Enum apalis_core::storage::StorageWorkerPulse
source · #[non_exhaustive]pub enum StorageWorkerPulse {
EnqueueScheduled {
count: i32,
},
ReenqueueOrphaned {
count: i32,
},
}Available on crate feature
storage only.Expand description
Each [Worker] sends heartbeat messages to storage
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for StorageWorkerPulse
impl Clone for StorageWorkerPulse
source§fn clone(&self) -> StorageWorkerPulse
fn clone(&self) -> StorageWorkerPulse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StorageWorkerPulse
impl Debug for StorageWorkerPulse
source§impl Hash for StorageWorkerPulse
impl Hash for StorageWorkerPulse
source§impl PartialEq for StorageWorkerPulse
impl PartialEq for StorageWorkerPulse
source§fn eq(&self, other: &StorageWorkerPulse) -> bool
fn eq(&self, other: &StorageWorkerPulse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for StorageWorkerPulse
impl StructuralEq for StorageWorkerPulse
impl StructuralPartialEq for StorageWorkerPulse
Auto Trait Implementations§
impl RefUnwindSafe for StorageWorkerPulse
impl Send for StorageWorkerPulse
impl Sync for StorageWorkerPulse
impl Unpin for StorageWorkerPulse
impl UnwindSafe for StorageWorkerPulse
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