fn new_store<P: AsRef<Path>>(dir: P, cas_address: String) -> Store {
    Store::with_remote(
      dir,
      &[cas_address],
      None,
      &None,
      None,
      1,
      10 * 1024 * 1024,
      Duration::from_secs(1),
      BackoffConfig::new(Duration::from_millis(10), 1.0, Duration::from_millis(10)).unwrap(),
      1,
      TimerHandle::default(),
    )
    .unwrap()
  }
///
/// Create a new store with a remote CAS.
///
Create a new store with a remote CAS.
Create a new store with a remote CAS .
fn new_store<P: AsRef<Path>>(dir: P, cas_address: String) -> Store {
    Store::with_remote(
      dir,
      &[cas_address],
      None,
      &None,
      None,
      1,
      10 * 1024 * 1024,
      Duration::from_secs(1),
      BackoffConfig::new(Duration::from_millis(10), 1.0, Duration::from_millis(10)).unwrap(),
      1,
      TimerHandle::default(),
    )
    .unwrap()
  }
fn new_store < P : AsRef < Path > > ( dir : P , cas_address : String ) -> Store { Store :: with_remote ( dir , & [ cas_address ] , None , & None , None , 1 , 10 * 1024 * 1024 , Duration :: from_secs ( 1 ) , BackoffConfig :: new ( Duration :: from_millis ( 10 ) , 1.0 , Duration :: from_millis ( 10 ) ) . unwrap ( ) , 1 , TimerHandle :: default ( ) , ) . unwrap ( ) }
Create a new store with a remote CAS.
Create a new store with a remote CAS .
dir
P
cas_address
String
dir
P
cas_address
String