[][src]Struct solana_measure::measure::Measure

pub struct Measure { /* fields omitted */ }

Implementations

impl Measure[src]

pub fn start(name: &'static str) -> Self[src]

pub fn stop(&mut self)[src]

pub fn as_us(&self) -> u64[src]

pub fn as_ms(&self) -> u64[src]

pub fn as_s(&self) -> f32[src]

Trait Implementations

impl Display for Measure[src]

Auto Trait Implementations

impl RefUnwindSafe for Measure

impl Send for Measure

impl Sync for Measure

impl Unpin for Measure

impl UnwindSafe for Measure

Blanket Implementations

impl<T> AbiExample for T[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,