[][src]Enum anachro_icd::arbitrator::PubSubResponse

pub enum PubSubResponse<'a> {
    SubAck {
        path: PubSubPath<'a>,
    },
    SubMsg(SubMsg<'a>),
}

An Arbitrator Response to a Pub/Sub message

These are any Arbitrator -> Client relevant messages

Variants

SubAck

Subscription Acknowledgement

Sent to acknowledge the reception of subscription request from a client

Fields of SubAck

path: PubSubPath<'a>
SubMsg(SubMsg<'a>)

Subscription Message

This is a "subscribed to" message, containing a payload sent by another Client

Trait Implementations

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'a> Send for PubSubResponse<'a>

impl<'a> Sync for PubSubResponse<'a>

impl<'a> Unpin for PubSubResponse<'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.