pub struct TaskBackend {
pub store: Arc<dyn TaskStore>,
pub queues: Vec<String>,
pub job_queues: HashMap<String, String>,
pub job_priorities: HashMap<String, i32>,
/* private fields */
}Expand description
App state handle for dispatch from request handlers.
Fields§
§store: Arc<dyn TaskStore>§queues: Vec<String>§job_queues: HashMap<String, String>§job_priorities: HashMap<String, i32>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TaskBackend
impl !UnwindSafe for TaskBackend
impl Freeze for TaskBackend
impl Send for TaskBackend
impl Sync for TaskBackend
impl Unpin for TaskBackend
impl UnsafeUnpin for TaskBackend
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