pub struct ParParams {
pub num_workers: usize,
pub buf_size: Option<usize>,
}
Expand description
The parameters including num_workers
and buf_size
.
Fields§
§num_workers: usize
§buf_size: Option<usize>
Trait Implementations§
Source§impl From<Option<ParParamsConfig>> for ParParams
impl From<Option<ParParamsConfig>> for ParParams
Source§fn from(config: Option<ParParamsConfig>) -> Self
fn from(config: Option<ParParamsConfig>) -> Self
Converts to this type from the input type.
Source§impl From<ParParamsConfig> for ParParams
impl From<ParParamsConfig> for ParParams
Source§fn from(config: ParParamsConfig) -> Self
fn from(config: ParParamsConfig) -> Self
Converts to this type from the input type.
impl Copy for ParParams
impl Eq for ParParams
impl StructuralPartialEq for ParParams
Auto Trait Implementations§
impl Freeze for ParParams
impl RefUnwindSafe for ParParams
impl Send for ParParams
impl Sync for ParParams
impl Unpin for ParParams
impl UnwindSafe for ParParams
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