Enum reproto_core::RpChannel [] [src]

pub enum RpChannel {
    Unary {
        ty: RpType,
    },
    Streaming {
        ty: RpType,
    },
}

Variants

Single send.

Fields of Unary

Multiple sends.

Fields of Streaming

Methods

impl RpChannel
[src]

[src]

Get the type of the channel.

[src]

Check if channel is streaming.

Trait Implementations

impl Debug for RpChannel
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RpChannel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for RpChannel
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for RpChannel

impl Sync for RpChannel