Struct apis::channel::Channel
[−]
[src]
pub struct Channel<CTX: Context> { pub def: Def<CTX>, pub sourcepoints: VecMap<Box<Sourcepoint<CTX>>>, pub endpoints: VecMap<Box<Endpoint<CTX>>>, }
Main channel struct.
Fields
def: Def<CTX>
sourcepoints: VecMap<Box<Sourcepoint<CTX>>>
endpoints: VecMap<Box<Endpoint<CTX>>>
Trait Implementations
impl<CTX, M> From<Simplex<CTX, M>> for Channel<CTX> where
CTX: Context,
M: Message<CTX> + 'static,
[src]
CTX: Context,
M: Message<CTX> + 'static,
impl<CTX, M> From<Sink<CTX, M>> for Channel<CTX> where
CTX: Context,
M: Message<CTX> + 'static,
[src]
CTX: Context,
M: Message<CTX> + 'static,
impl<CTX, M> From<Source<CTX, M>> for Channel<CTX> where
CTX: Context,
M: Message<CTX> + 'static,
[src]
CTX: Context,
M: Message<CTX> + 'static,