pub struct GroupBuilder<'a, E> { /* private fields */ }
Expand description
Task builder that configures the settings of a new task
Implementations§
Source§impl<'a, E> GroupBuilder<'a, E>where
E: Send + 'static,
impl<'a, E> GroupBuilder<'a, E>where
E: Send + 'static,
Sourcepub fn spawn_local<F>(self, future: F)
pub fn spawn_local<F>(self, future: F)
Spawns a task locally with the configured settings.
Trait Implementations§
Auto Trait Implementations§
impl<'a, E> Freeze for GroupBuilder<'a, E>
impl<'a, E> RefUnwindSafe for GroupBuilder<'a, E>
impl<'a, E> Send for GroupBuilder<'a, E>where
E: Send,
impl<'a, E> Sync for GroupBuilder<'a, E>where
E: Send,
impl<'a, E> Unpin for GroupBuilder<'a, E>
impl<'a, E> UnwindSafe for GroupBuilder<'a, E>
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