Enum resident_utils::LoopState
source · pub enum LoopState {
AllTerminate,
Continue,
Terminate,
Duration(Duration),
}Expand description
LoopState AllTerminate: stop all threads Continue: continue loop Terminate: terminate this loop Duration(duration): sleep duration
Variants§
Auto Trait Implementations§
impl Freeze for LoopState
impl RefUnwindSafe for LoopState
impl Send for LoopState
impl Sync for LoopState
impl Unpin for LoopState
impl UnwindSafe for LoopState
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