Enum reproto_core::RpChannel [] [src]

pub enum RpChannel<F: 'static> where
    F: Flavor
{ Unary { ty: F::Type, }, Streaming { ty: F::Type, }, }

Variants

Single send.

Fields of Unary

Multiple sends.

Fields of Streaming

Methods

impl<F: 'static> RpChannel<F> where
    F: Flavor
[src]

[src]

Get the type of the channel.

[src]

Check if channel is streaming.

Trait Implementations

impl<F: Debug + 'static> Debug for RpChannel<F> where
    F: Flavor,
    F::Type: Debug,
    F::Type: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone + 'static> Clone for RpChannel<F> where
    F: Flavor,
    F::Type: Clone,
    F::Type: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: PartialEq + 'static> PartialEq for RpChannel<F> where
    F: Flavor,
    F::Type: PartialEq,
    F::Type: PartialEq
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<F: Eq + 'static> Eq for RpChannel<F> where
    F: Flavor,
    F::Type: Eq,
    F::Type: Eq
[src]

impl<F: 'static> Display for RpChannel<F> where
    F: Flavor
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: 'static, T> Translate<T> for RpChannel<F> where
    F: Flavor,
    T: Translator<Source = F>, 
[src]

[src]

Translate into different flavor.

Auto Trait Implementations

impl<F> Send for RpChannel<F> where
    <F as Flavor>::Type: Send

impl<F> Sync for RpChannel<F> where
    <F as Flavor>::Type: Sync