pub struct SpatialMultiplexer { /* private fields */ }Expand description
Spatial multiplexer for parallel job execution
Implementations§
Source§impl SpatialMultiplexer
impl SpatialMultiplexer
Sourcepub fn new(topology: Topology, config: SpatialMultiplexConfig) -> Self
pub fn new(topology: Topology, config: SpatialMultiplexConfig) -> Self
Create a new spatial multiplexer
Sourcepub async fn schedule_spatially(
&mut self,
jobs: Vec<Job>,
) -> Result<Vec<Assignment>>
pub async fn schedule_spatially( &mut self, jobs: Vec<Job>, ) -> Result<Vec<Assignment>>
Schedule jobs using spatial multiplexing
Trait Implementations§
Source§impl Clone for SpatialMultiplexer
impl Clone for SpatialMultiplexer
Source§fn clone(&self) -> SpatialMultiplexer
fn clone(&self) -> SpatialMultiplexer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpatialMultiplexer
impl RefUnwindSafe for SpatialMultiplexer
impl Send for SpatialMultiplexer
impl Sync for SpatialMultiplexer
impl Unpin for SpatialMultiplexer
impl UnsafeUnpin for SpatialMultiplexer
impl UnwindSafe for SpatialMultiplexer
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