Struct measureme::Addr[][src]

pub struct Addr(pub u32);

An address within a data stream. Each data stream has its own address space, i.e. the first piece of data written to the events stream will have Addr(0) and the first piece of data written to the string data stream will also have Addr(0).

Implementations

impl Addr[src]

pub fn as_usize(self) -> usize[src]

Trait Implementations

impl Clone for Addr[src]

impl Copy for Addr[src]

impl Debug for Addr[src]

impl Eq for Addr[src]

impl PartialEq<Addr> for Addr[src]

impl StructuralEq for Addr[src]

impl StructuralPartialEq for Addr[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> 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.