pub struct DefaultScheduler { /* private fields */ }Implementations§
Source§impl DefaultScheduler
impl DefaultScheduler
pub fn new() -> Self
pub fn with_assign_self(self, assign_self: Option<AssignSelfFn>) -> Self
pub fn with_memory_datasource_size_threshold(self, threshold: usize) -> Self
Trait Implementations§
Source§impl Debug for DefaultScheduler
impl Debug for DefaultScheduler
Source§impl Default for DefaultScheduler
impl Default for DefaultScheduler
Source§impl DistScheduler for DefaultScheduler
impl DistScheduler for DefaultScheduler
fn schedule<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
local_node: &'life1 NodeId,
node_states: &'life2 HashMap<NodeId, NodeState>,
stage_plans: &'life3 HashMap<StageId, Arc<dyn ExecutionPlan>>,
) -> Pin<Box<dyn Future<Output = DistResult<HashMap<TaskId, NodeId>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for DefaultScheduler
impl !RefUnwindSafe for DefaultScheduler
impl Send for DefaultScheduler
impl Sync for DefaultScheduler
impl Unpin for DefaultScheduler
impl !UnwindSafe for DefaultScheduler
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more