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
Unary
Single send.
Fields of Unary
ty: Loc<Type<'input>> |
Streaming
Multiple sends.
Fields of Streaming
ty: Loc<Type<'input>> |
Methods
impl<'input> Channel<'input>
[src]
Trait Implementations
impl<'input> Debug for Channel<'input>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'input> PartialEq for Channel<'input>
[src]
fn eq(&self, __arg_0: &Channel<'input>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Channel<'input>) -> bool
[src]
This method tests for !=
.