pub struct Executor {
pub executors: Option<usize>,
pub queue_size: Option<usize>,
pub time_slice: Option<usize>,
}Expand description
Some tuning params, these might be better as fields
Fields§
§executors: Option<usize>§queue_size: Option<usize>§time_slice: Option<usize>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Executor
impl<'de> Deserialize<'de> for Executor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Executor
impl RefUnwindSafe for Executor
impl Send for Executor
impl Sync for Executor
impl Unpin for Executor
impl UnwindSafe for Executor
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