[][src]Struct futures_intrusive::channel::StateId

pub struct StateId(_);

An ID, which allows to differentiate states received from a Channel. Elements with a bigger state ID (id > otherId) have been published more recently into the Channel.

Methods

impl StateId[src]

pub fn new() -> Self[src]

Returns the initial StateId, which is guaranteed to return the oldest buffered value available.

Trait Implementations

impl Clone for StateId[src]

impl Copy for StateId[src]

impl Default for StateId[src]

impl Eq for StateId[src]

impl Ord for StateId[src]

impl PartialEq<StateId> for StateId[src]

impl PartialOrd<StateId> for StateId[src]

impl Debug for StateId[src]

impl StructuralPartialEq for StateId[src]

impl StructuralEq for StateId[src]

Auto Trait Implementations

impl Send for StateId

impl Sync for StateId

impl Unpin for StateId

impl UnwindSafe for StateId

impl RefUnwindSafe for StateId

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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