pub struct EngineSample {
pub process_input: EngineMetrics,
pub compute_output: EngineMetrics,
pub input: Option<Val>,
pub output: Option<Val>,
}Expand description
To sample a single engine, we record metrics for processing the
input (left vertical edge in README.md diagram).
Fields§
§process_input: EngineMetricsTODO: Rename: ‘editor’ (for editor role)
compute_output: EngineMetricsTODO: Rename: ‘archivist’ (for archivist role)
input: Option<Val>§output: Option<Val>Trait Implementations§
Source§impl Clone for EngineSample
impl Clone for EngineSample
Source§fn clone(&self) -> EngineSample
fn clone(&self) -> EngineSample
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EngineSample
impl RefUnwindSafe for EngineSample
impl !Send for EngineSample
impl !Sync for EngineSample
impl Unpin for EngineSample
impl UnwindSafe for EngineSample
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