[][src]Enum anachro_icd::component::Component

pub enum Component<'a> {
    Control(Control<'a>),
    PubSub(PubSub<'a>),
}

Component Message

This is the primary message sent FROM the peripheral Component/Client, TO the central Arbitrator.

Variants

Control(Control<'a>)

Control Messages

These are used to establish or manage the connection between the Component/Client and Arbitrator

PubSub(PubSub<'a>)

Pub/Sub messages

These are used to send or receive Pub/Sub messages

Trait Implementations

impl<'a> Debug for Component<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for Component<'a>[src]

impl<'a> Eq for Component<'a>[src]

impl<'a> PartialEq<Component<'a>> for Component<'a>[src]

impl<'a> Serialize for Component<'a>[src]

impl<'a> StructuralEq for Component<'a>[src]

impl<'a> StructuralPartialEq for Component<'a>[src]

Auto Trait Implementations

impl<'a> Send for Component<'a>

impl<'a> Sync for Component<'a>

impl<'a> Unpin for Component<'a>

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> Same<T> for T

type Output = T

Should always be Self

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.