pub struct Observed {
pub turns: Vec<PendingTurn>,
pub refused: Vec<(PrintId, CoreError)>,
}Expand description
What one round of observations claimed, and what it could not write down.
Fields§
§turns: Vec<PendingTurn>The turns the observations claimed, each to be run by
Supervisor::run_supervision: a turn claimed and never run leaves its
print claimed.
refused: Vec<(PrintId, CoreError)>Each print whose observation the store would not write down, with the store’s own error. Such a print claimed no turn, and the next round observes it again.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Observed
impl Freeze for Observed
impl Move for Observed
impl RefUnwindSafe for Observed
impl Send for Observed
impl Sync for Observed
impl Unpin for Observed
impl UnsafeUnpin for Observed
impl UnwindSafe for Observed
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