pub struct SimpleJobCode {
pub job_code: Arc<RwLock<HashMap<Uuid, Arc<RwLock<Box<JobToRunAsync>>>>>>,
}
Fields§
§job_code: Arc<RwLock<HashMap<Uuid, Arc<RwLock<Box<JobToRunAsync>>>>>>
Trait Implementations§
Source§impl Default for SimpleJobCode
impl Default for SimpleJobCode
Source§impl ToCode<Box<dyn FnMut(Uuid, JobsSchedulerLocked) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>> for SimpleJobCode
impl ToCode<Box<dyn FnMut(Uuid, JobsSchedulerLocked) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>> for SimpleJobCode
impl JobCode for SimpleJobCode
Auto Trait Implementations§
impl Freeze for SimpleJobCode
impl !RefUnwindSafe for SimpleJobCode
impl Send for SimpleJobCode
impl Sync for SimpleJobCode
impl Unpin for SimpleJobCode
impl !UnwindSafe for SimpleJobCode
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