Enum ratman::Recipient[][src]

pub enum Recipient {
    User(Identity),
    Flood,
}

Encoded recipient data

A Frame can either be addressed to a single user on the network, or to the network as a whole. The latter is called Flood and should primarily be used for small payload sequences.

Variants

User(Identity)

Addressed to a single user ID on the network

Flood

Spreading a Frame to the whole network

Trait Implementations

impl Clone for Recipient[src]

impl Copy for Recipient[src]

impl Debug for Recipient[src]

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

impl Eq for Recipient[src]

impl PartialEq<Recipient> for Recipient[src]

impl Serialize for Recipient[src]

impl StructuralEq for Recipient[src]

impl StructuralPartialEq for Recipient[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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> 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]