Struct chrome_remote_interface_model::tracing::BufferUsageEvent[][src]

pub struct BufferUsageEvent { /* fields omitted */ }

Implementations

impl BufferUsageEvent[src]

pub fn new(
    percent_full: Option<f64>,
    event_count: Option<f64>,
    value: Option<f64>
) -> Self
[src]

pub fn percent_full(&self) -> Option<&f64>[src]

A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size.

pub fn event_count(&self) -> Option<&f64>[src]

An approximate number of events in the trace log.

pub fn value(&self) -> Option<&f64>[src]

A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size.

Trait Implementations

impl Clone for BufferUsageEvent[src]

impl Debug for BufferUsageEvent[src]

impl<'de> Deserialize<'de> for BufferUsageEvent[src]

impl Serialize for BufferUsageEvent[src]

Auto Trait Implementations

Blanket Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.