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

Trait Implementations

impl<CTX, M> From<Simplex<CTX, M>> for Channel<CTX> where
    CTX: Context,
    M: Message<CTX> + 'static, 
[src]

[src]

Performs the conversion.

impl<CTX, M> From<Sink<CTX, M>> for Channel<CTX> where
    CTX: Context,
    M: Message<CTX> + 'static, 
[src]

[src]

Performs the conversion.

impl<CTX, M> From<Source<CTX, M>> for Channel<CTX> where
    CTX: Context,
    M: Message<CTX> + 'static, 
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<CTX> Send for Channel<CTX> where
    <CTX as Context>::CID: Send,
    <CTX as Context>::MID: Send,
    <CTX as Context>::PID: Send

impl<CTX> !Sync for Channel<CTX>