pub struct Inline;Expand description
The fan-out for a caller that has no threads to lend: every unit runs on the calling thread, in order.
Trait Implementations§
impl Copy for Inline
Source§impl Fanout for Inline
impl Fanout for Inline
Source§fn workers(&self) -> usize
fn workers(&self) -> usize
Units of work this fan-out can run at once. One means the work runs on
the calling thread, which is what the simulation sizes its per-worker
scratch against.
Auto Trait Implementations§
impl Freeze for Inline
impl RefUnwindSafe for Inline
impl Send for Inline
impl Sync for Inline
impl Unpin for Inline
impl UnsafeUnpin for Inline
impl UnwindSafe for Inline
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