Skip to main content

Events

Struct Events 

Source
pub struct Events {
    pub plan_seq: u64,
    pub tick_status: u32,
    pub admit_results: Vec<AdmitResult>,
    pub emits: Vec<LaneEmit>,
    pub faults: Vec<LaneFault>,
    pub shed_chunks: u32,
    pub shed_entries: Vec<ShedEntry>,
    pub op_completions: Vec<OpComplete>,
    pub logprobs: Vec<LaneLogprob>,
}

Fields§

§plan_seq: u64§tick_status: u32§admit_results: Vec<AdmitResult>§emits: Vec<LaneEmit>§faults: Vec<LaneFault>§shed_chunks: u32§shed_entries: Vec<ShedEntry>§op_completions: Vec<OpComplete>§logprobs: Vec<LaneLogprob>

Implementations§

Source§

impl Events

Source

pub fn decode(ev: &TickEvents) -> Events

Source

pub fn emit_for(&self, lane: u64) -> &LaneEmit

Source

pub fn logprobs_for(&self, lane: u64) -> Vec<&LaneLogprob>

Source

pub fn admit_for(&self, lane: u64) -> &AdmitResult

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.