pub struct Stopped {
pub resource: Resource,
pub limit: u64,
pub observed: u64,
pub elapsed_ms: u64,
pub phase: Phase,
}Expand description
A run stopped by its budget. The statistics at the stop are the result’s.
Fields§
§resource: ResourceWhat ran out.
limit: u64The limit: milliseconds, bytes, admitted states or BFS levels.
observed: u64The exhausted observation in the same unit. For state/depth ceilings, this is the next admission that was prevented.
elapsed_ms: u64Milliseconds from arming the relevant budget to the reported stop.
phase: PhaseThe phase the run was in.
Implementations§
Trait Implementations§
impl Eq for Stopped
impl StructuralPartialEq for Stopped
Auto Trait Implementations§
impl Forget for Stopped
impl Freeze for Stopped
impl Move for Stopped
impl RefUnwindSafe for Stopped
impl Send for Stopped
impl Sync for Stopped
impl Unpin for Stopped
impl UnsafeUnpin for Stopped
impl UnwindSafe for Stopped
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