[−][src]Struct apis::channel::Channel
Main channel struct.
Fields
def: Def<CTX>
sourcepoints: VecMap<Box<dyn Sourcepoint<CTX>>>
endpoints: VecMap<Box<dyn 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,
Auto Trait Implementations
impl<CTX> !RefUnwindSafe for Channel<CTX>
impl<CTX> Send for Channel<CTX> where
<CTX as Context>::CID: Send,
<CTX as Context>::MID: Send,
<CTX as Context>::PID: Send,
<CTX as Context>::CID: Send,
<CTX as Context>::MID: Send,
<CTX as Context>::PID: Send,
impl<CTX> !Sync for Channel<CTX>
impl<CTX> Unpin for Channel<CTX> where
<CTX as Context>::CID: Unpin,
<CTX as Context>::MID: Unpin,
<CTX as Context>::PID: Unpin,
<CTX as Context>::CID: Unpin,
<CTX as Context>::MID: Unpin,
<CTX as Context>::PID: Unpin,
impl<CTX> !UnwindSafe for Channel<CTX>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,