pub struct ModuleDConfig {
pub target_path: PathBuf,
pub total_bytes: u64,
pub group_bytes: usize,
pub request_bytes: usize,
pub producers: usize,
pub seed: u64,
pub allow_file_fallback: bool,
pub require_io_uring: bool,
}Fields§
§target_path: PathBuf§total_bytes: u64§group_bytes: usize§request_bytes: usize§producers: usize§seed: u64§allow_file_fallback: bool§require_io_uring: boolTrait Implementations§
Source§impl Clone for ModuleDConfig
impl Clone for ModuleDConfig
Source§fn clone(&self) -> ModuleDConfig
fn clone(&self) -> ModuleDConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModuleDConfig
impl RefUnwindSafe for ModuleDConfig
impl Send for ModuleDConfig
impl Sync for ModuleDConfig
impl Unpin for ModuleDConfig
impl UnsafeUnpin for ModuleDConfig
impl UnwindSafe for ModuleDConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more