fn storage_fixture(harness: &ComponentHarness<UnitTestEvent>) -> Storage {
    let cfg = new_config(harness);
    Storage::new(
        &WithDir::new(harness.tmp.path(), cfg),
        None,
        ProtocolVersion::from_parts(1, 0, 0),
        false,
        "test",
    )
    .expect("could not create storage component fixture")
}
/// Storage component test fixture.
///
/// Creates a storage component in a temporary directory.
///
/// # Panics
///
/// Panics if setting up the storage fixture fails.
Storage component test fixture.
Creates a storage component in a temporary directory.
Storage component test fixture . Creates a storage component in a temporary directory .
fn storage_fixture(harness: &ComponentHarness<UnitTestEvent>) -> Storage {
    let cfg = new_config(harness);
    Storage::new(
        &WithDir::new(harness.tmp.path(), cfg),
        None,
        ProtocolVersion::from_parts(1, 0, 0),
        false,
        "test",
    )
    .expect("could not create storage component fixture")
}
fn storage_fixture ( harness : & ComponentHarness < UnitTestEvent > ) -> Storage { let cfg = new_config ( harness ) ; Storage :: new ( & WithDir :: new ( harness . tmp . path ( ) , cfg ) , None , ProtocolVersion :: from_parts ( 1 , 0 , 0 ) , false , " " , ) . expect ( " " ) }
Storage component test fixture.
Storage component test fixture .
harness
&ComponentHarness<UnitTestEvent>
harness
&ComponentHarness<UnitTestEvent>
panics
Panics if setting up the storage fixture fails.
Panics if setting up the storage fixture fails .