Struct hadean::Channel
[−]
[src]
pub struct Channel { /* fields omitted */ }
Zero or more channels are given to spawn()
. At least one of src
and dst
must be of type ChannelEndpoint::Sibling()
, and they cannot be the same.
Methods
impl Channel
[src]
fn new<T: ProcessTransfer>(
src: ChannelEndpoint,
dst: ChannelEndpoint
) -> Channel
[src]
src: ChannelEndpoint,
dst: ChannelEndpoint
) -> Channel
Create a new Channel
to give to spawn
.
Trait Implementations
impl Clone for Channel
[src]
fn clone(&self) -> Channel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more