[][src]Enum tcb::causality_checker::causality_checker_structs::CausalCheck

pub enum CausalCheck {
    Send {
        sent_dot: Dot,
        context: Vec<Dot>,
    },
    Delivery {
        dev_dot: Dot,
    },
    Stable {
        stb_dot: Dot,
    },
}

Enum for the type of dots in the peer sequences.

Variants

Send

Sent message

Fields of Send

sent_dot: Dotcontext: Vec<Dot>
Delivery

Delivered message

Fields of Delivery

dev_dot: Dot
Stable

Stable message

Fields of Stable

stb_dot: Dot

Implementations

impl CausalCheck[src]

pub fn get_dot(entry: &CausalCheck) -> Dot[src]

Returns the inner dot from the CausalCheck enum's variations.

Arguments

  • entry - CausalCheck enum to retrieve the dot from.

Trait Implementations

impl Debug for CausalCheck[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, 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.