Enum rill_protocol::io::transport::Direction[][src]

pub enum Direction<T: Origin> {
    Direct(DirectId<T>),
    Multicast(Vec<DirectId<T>>),
    Broadcast,
}

Variants

Direct(DirectId<T>)
Multicast(Vec<DirectId<T>>)
Broadcast

Implementations

impl<T: Origin> Direction<T>[src]

pub fn into_vec(self) -> Vec<DirectId<T>>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

impl<T: Origin> Direction<T>[src]

pub fn broadcast() -> Self[src]

Trait Implementations

impl<T: Clone + Origin> Clone for Direction<T>[src]

impl<T: Debug + Origin> Debug for Direction<T>[src]

impl<'de, T: Origin> Deserialize<'de> for Direction<T> where
    T: Deserialize<'de>, 
[src]

impl<T: Origin> From<&'_ HashSet<DirectId<T>, RandomState>> for Direction<T>[src]

impl<T: Origin> From<DirectId<T>> for Direction<T>[src]

impl<T: Origin> Serialize for Direction<T> where
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Direction<T> where
    T: RefUnwindSafe

impl<T> Send for Direction<T> where
    T: Send

impl<T> Sync for Direction<T> where
    T: Sync

impl<T> Unpin for Direction<T> where
    T: Unpin

impl<T> UnwindSafe for Direction<T> where
    T: UnwindSafe

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> DataFraction for T where
    T: DeserializeOwned + Serialize + Clone + Debug + Sync + Send + 'static, 
[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> ProtocolData for T where
    T: Serialize + DeserializeOwned + Debug + Send + 'static, 
[src]

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.