[][src]Struct tcb::graph::middleware::dot::Dot

pub struct Dot {
    pub id: usize,
    pub counter: usize,
}

A dot is a pair id and counter, which are, respectivally, the peer's globally unique identifier and a monotonically increasing counter that grows with each sent message.

Fields

id: usize

Peer's globally unique id

counter: usize

Message's counter

Implementations

impl Dot[src]

pub fn new(id: usize, counter: usize) -> Dot[src]

Creates a new Dot.

Arguments

id - Peer's globally unique id

counter - Message's counter

Trait Implementations

impl Clone for Dot[src]

impl Copy for Dot[src]

impl Debug for Dot[src]

impl Default for Dot[src]

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

impl Display for Dot[src]

impl Eq for Dot[src]

impl Hash for Dot[src]

impl PartialEq<Dot> for Dot[src]

impl Serialize for Dot[src]

impl StructuralEq for Dot[src]

impl StructuralPartialEq for Dot[src]

Auto Trait Implementations

impl RefUnwindSafe for Dot

impl Send for Dot

impl Sync for Dot

impl Unpin for Dot

impl UnwindSafe for Dot

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> 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.