pub struct Watched {
pub turns: Vec<PendingTurn>,
pub active: Option<ActiveJob>,
}Expand description
What one round of the watch claimed.
Fields§
§turns: Vec<PendingTurn>The turns it claimed, each to be run by
Supervisor::run_supervision.
active: Option<ActiveJob>The open print the printer’s job is, and the file position the read found it at; absent when no job is running or it could not be read.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Watched
impl Freeze for Watched
impl Move for Watched
impl RefUnwindSafe for Watched
impl Send for Watched
impl Sync for Watched
impl Unpin for Watched
impl UnsafeUnpin for Watched
impl UnwindSafe for Watched
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