Enum reproto_ast::Channel [] [src]

pub enum Channel<'input> {
    Unary {
        ty: Loc<Type<'input>>,
    },
    Streaming {
        ty: Loc<Type<'input>>,
    },
}

Describes how data is transferred over a channel.

This example is not tested
Unary(stream <ty>)
Streaming(<ty>)

Variants

Single send.

Fields of Unary

Multiple sends.

Fields of Streaming

Methods

impl<'input> Channel<'input>
[src]

[src]

Access the type of the channel.

Trait Implementations

impl<'input> Debug for Channel<'input>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for Channel<'input>
[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<'input> Eq for Channel<'input>
[src]

Auto Trait Implementations

impl<'input> Send for Channel<'input>

impl<'input> Sync for Channel<'input>