Struct mjolnir::mjolnir_lib::bootstrap::scenario::iteration::IterationBasedClientLoad
source · pub struct IterationBasedClientLoad {
config: ClientLoadConfig,
sync_iteration: u32,
}
Fields§
§config: ClientLoadConfig
§sync_iteration: u32
Implementations§
source§impl IterationBasedClientLoad
impl IterationBasedClientLoad
pub fn new(config: ClientLoadConfig, sync_iteration: u32) -> Self
fn get_storage_name(&self, id: u32, iteration: u32) -> String
fn start_node( &self, temp_dir: &TempDir, id: u32, iteration: u32, multi_progress: &MultiProgress ) -> Result<JoinHandle<Result<SpeedBenchmarkFinish, MjolnirError>>, MjolnirError>
pub fn run(&self) -> Result<(), MjolnirError>
Auto Trait Implementations§
impl RefUnwindSafe for IterationBasedClientLoad
impl Send for IterationBasedClientLoad
impl Sync for IterationBasedClientLoad
impl Unpin for IterationBasedClientLoad
impl UnwindSafe for IterationBasedClientLoad
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request