pub struct Source<C, O> { /* private fields */ }Expand description
A channel source: external code can send values in, and this source will drive a workflow for each received item until the channel closes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<C, O> Freeze for Source<C, O>
impl<C, O> !RefUnwindSafe for Source<C, O>
impl<C, O> Send for Source<C, O>
impl<C, O> Sync for Source<C, O>
impl<C, O> Unpin for Source<C, O>where
C: Unpin,
impl<C, O> !UnwindSafe for Source<C, O>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more