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 Observedwhere
*const u8 is !null: Freeze,
PhantomData<PendingTurn>: Freeze,
PhantomData<(PrintId, CoreError)>: Freeze,
impl Move for Observed
impl RefUnwindSafe for Observed
impl Send for Observed
impl Sync for Observed
impl Unpin for Observed
impl UnsafeUnpin for Observedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PendingTurn>: UnsafeUnpin,
PhantomData<(PrintId, CoreError)>: UnsafeUnpin,
impl UnwindSafe for Observedwhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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