pub struct SequentialArgs {
pub op_size_bytes: u64,
pub file_size_bytes: u64,
pub read: bool,
pub fsync_every_n_ops: u64,
pub rate_mibs: u64,
}Expand description
Run a sequential write workload.
Fields§
§op_size_bytes: u64block size in bytes (default: 131072)
file_size_bytes: u64total backing file size in bytes (default: 1073741824)
read: boolperform sequential read instead of write
fsync_every_n_ops: u64trigger fsync every N operations (default: 0)
rate_mibs: u64rate limit operations in MiB/s (default: 0)
Trait Implementations§
Source§impl Clone for SequentialArgs
impl Clone for SequentialArgs
Source§fn clone(&self) -> SequentialArgs
fn clone(&self) -> SequentialArgs
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 SequentialArgs
impl Debug for SequentialArgs
Source§impl FromArgs for SequentialArgs
impl FromArgs for SequentialArgs
Source§fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
Source§fn redact_arg_values(
__cmd_name: &[&str],
__args: &[&str],
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( __cmd_name: &[&str], __args: &[&str], ) -> Result<Vec<String>, EarlyExit>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
Source§impl SubCommand for SequentialArgs
impl SubCommand for SequentialArgs
Source§const COMMAND: &'static CommandInfo
const COMMAND: &'static CommandInfo
Information about the subcommand.
Auto Trait Implementations§
impl Freeze for SequentialArgs
impl RefUnwindSafe for SequentialArgs
impl Send for SequentialArgs
impl Sync for SequentialArgs
impl Unpin for SequentialArgs
impl UnsafeUnpin for SequentialArgs
impl UnwindSafe for SequentialArgs
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
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