Struct task_executor::LocalBuilder 
source · [−]pub struct LocalBuilder { /* private fields */ }Implementations
sourceimpl LocalBuilder
 
impl LocalBuilder
pub fn workers(self, workers: usize) -> Self
pub fn queue_max(self, queue_max: usize) -> Self
pub fn with_channel<Tx, Rx, D>(
    self,
    tx: Tx,
    rx: Rx
) -> ChannelLocalBuilder<Tx, Rx, D>where
    Tx: Clone + Sink<(D, LocalTaskType)> + Unpin + Sync + 'static,
    Rx: Stream<Item = (D, LocalTaskType)> + Unpin,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LocalBuilder
impl Send for LocalBuilder
impl Sync for LocalBuilder
impl Unpin for LocalBuilder
impl UnwindSafe for LocalBuilder
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