pub trait EnqueuedJobs {
// Required method
fn all_enqueued(&self) -> Vec<Envelope>;
}Expand description
Whatever a test double can list back. Implemented for MemStore; a live backend
implements it over Inspect::list_jobs in the test that needs it.
Required Methods§
Sourcefn all_enqueued(&self) -> Vec<Envelope>
fn all_enqueued(&self) -> Vec<Envelope>
Every job the store currently holds, id-ordered. A job DELETED (retention policy ephemeral
retention-0, retention and eviction contract eviction, revoke) is gone from here, which is the honest
answer: “was enqueued” is only observable while the row exists.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".