pub struct ChannelLocalBuilder<Tx, Rx, D> { /* private fields */ }
Implementations§
Source§impl<Tx, Rx, D> ChannelLocalBuilder<Tx, Rx, D>where
Tx: Clone + Sink<(D, LocalTaskType)> + Unpin + Sync + 'static,
Rx: Stream<Item = (D, LocalTaskType)> + Unpin,
impl<Tx, Rx, D> ChannelLocalBuilder<Tx, Rx, D>where
Tx: Clone + Sink<(D, LocalTaskType)> + Unpin + Sync + 'static,
Rx: Stream<Item = (D, LocalTaskType)> + Unpin,
pub fn build(self) -> (LocalExecutor<Tx, (), D>, impl Future<Output = ()>)
pub fn group(self) -> GroupChannelLocalBuilder<Tx, Rx, D>
Auto Trait Implementations§
impl<Tx, Rx, D> Freeze for ChannelLocalBuilder<Tx, Rx, D>
impl<Tx, Rx, D> RefUnwindSafe for ChannelLocalBuilder<Tx, Rx, D>
impl<Tx, Rx, D> Send for ChannelLocalBuilder<Tx, Rx, D>
impl<Tx, Rx, D> Sync for ChannelLocalBuilder<Tx, Rx, D>
impl<Tx, Rx, D> Unpin for ChannelLocalBuilder<Tx, Rx, D>
impl<Tx, Rx, D> UnwindSafe for ChannelLocalBuilder<Tx, Rx, D>
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