Struct rust_box::task_executor::ChannelLocalBuilder
source · [−]pub struct ChannelLocalBuilder<Tx, Rx, D> { /* private fields */ }Implementations
sourceimpl<Tx, Rx, D> ChannelLocalBuilder<Tx, Rx, D>where
Tx: 'static + Clone + Sink<(D, Box<dyn Future<Output = ()> + Unpin + 'static, Global>)> + Unpin + Sync,
Rx: Stream<Item = (D, Box<dyn Future<Output = ()> + Unpin + 'static, Global>)> + Unpin,
impl<Tx, Rx, D> ChannelLocalBuilder<Tx, Rx, D>where
Tx: 'static + Clone + Sink<(D, Box<dyn Future<Output = ()> + Unpin + 'static, Global>)> + Unpin + Sync,
Rx: Stream<Item = (D, Box<dyn Future<Output = ()> + Unpin + 'static, Global>)> + 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> RefUnwindSafe for ChannelLocalBuilder<Tx, Rx, D>where
D: RefUnwindSafe,
Rx: RefUnwindSafe,
Tx: RefUnwindSafe,
impl<Tx, Rx, D> Send for ChannelLocalBuilder<Tx, Rx, D>where
D: Send,
Rx: Send,
Tx: Send,
impl<Tx, Rx, D> Sync for ChannelLocalBuilder<Tx, Rx, D>where
D: Sync,
Rx: Sync,
Tx: Sync,
impl<Tx, Rx, D> Unpin for ChannelLocalBuilder<Tx, Rx, D>where
D: Unpin,
Rx: Unpin,
Tx: Unpin,
impl<Tx, Rx, D> UnwindSafe for ChannelLocalBuilder<Tx, Rx, D>where
D: UnwindSafe,
Rx: UnwindSafe,
Tx: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more