pub struct ExecutorPolicy {
pub max_active_tasks: usize,
}Fields§
§max_active_tasks: usizeTrait Implementations§
Source§impl Clone for ExecutorPolicy
impl Clone for ExecutorPolicy
Source§fn clone(&self) -> ExecutorPolicy
fn clone(&self) -> ExecutorPolicy
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 moreSource§impl Debug for ExecutorPolicy
impl Debug for ExecutorPolicy
Source§impl Default for ExecutorPolicy
impl Default for ExecutorPolicy
Source§impl PartialEq for ExecutorPolicy
impl PartialEq for ExecutorPolicy
Source§fn eq(&self, other: &ExecutorPolicy) -> bool
fn eq(&self, other: &ExecutorPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExecutorPolicy
impl StructuralPartialEq for ExecutorPolicy
Auto Trait Implementations§
impl Freeze for ExecutorPolicy
impl RefUnwindSafe for ExecutorPolicy
impl Send for ExecutorPolicy
impl Sync for ExecutorPolicy
impl Unpin for ExecutorPolicy
impl UnsafeUnpin for ExecutorPolicy
impl UnwindSafe for ExecutorPolicy
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