pub struct ConmanWorkerProcessor {
pub running: AtomicBool,
pub is_busy: AtomicBool,
pub manager: Arc<Mutex<ConmanManager>>,
pub sync_object: Arc<(Mutex<bool>, Condvar)>,
}
Fields§
§running: AtomicBool
§is_busy: AtomicBool
§manager: Arc<Mutex<ConmanManager>>
§sync_object: Arc<(Mutex<bool>, Condvar)>
Implementations§
Source§impl ConmanWorkerProcessor
impl ConmanWorkerProcessor
pub fn new(manager: Arc<Mutex<ConmanManager>>) -> ConmanWorkerProcessor
pub fn execute(&self)
Auto Trait Implementations§
impl !Freeze for ConmanWorkerProcessor
impl RefUnwindSafe for ConmanWorkerProcessor
impl Send for ConmanWorkerProcessor
impl Sync for ConmanWorkerProcessor
impl Unpin for ConmanWorkerProcessor
impl UnwindSafe for ConmanWorkerProcessor
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