pub struct Sequential;Expand description
Always run sequentially (single thread, no scheduling).
Trait Implementations§
Source§impl Clone for Sequential
impl Clone for Sequential
impl Copy for Sequential
Source§impl Debug for Sequential
impl Debug for Sequential
Source§impl Default for Sequential
impl Default for Sequential
Source§impl ExecutionPolicy for Sequential
impl ExecutionPolicy for Sequential
Source§fn parallelize(_len: usize) -> bool
fn parallelize(_len: usize) -> bool
Return
true if an operation over len elements should run in parallel.Source§fn parallelize_chunks(len: usize, chunks: usize) -> bool
fn parallelize_chunks(len: usize, chunks: usize) -> bool
Return
true if an operation over len elements, partitioned into
chunks logical chunks, should run in parallel. Read moreSource§fn parallelize_work(len: usize, chunks: usize, bytes: usize) -> bool
fn parallelize_work(len: usize, chunks: usize, bytes: usize) -> bool
Return
true if an operation over len elements, scheduled as chunks
tasks and moving bytes in total, should run in parallel. Read moreSource§fn parallelize_pair() -> bool
fn parallelize_pair() -> bool
Return
true if a fixed two-branch operation should run in parallel.Auto Trait Implementations§
impl Freeze for Sequential
impl RefUnwindSafe for Sequential
impl Send for Sequential
impl Sync for Sequential
impl Unpin for Sequential
impl UnsafeUnpin for Sequential
impl UnwindSafe for Sequential
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