/// fill in the values if not defined
/// that should be used
fill in the values if not defined
that should be used
fill in the values if not defined that should be used
pub fn real_config(&self) -> RealStorageConfig {
        RealStorageConfig {
            log_dir: self
                .log_dir
                .clone()
                .unwrap_or_else(|| SPU_LOG_BASE_DIR.to_owned()),
            size: self.size.clone().unwrap_or_else(|| SPU_LOG_SIZE.to_owned()),
        }
    }
pub fn real_config ( & self ) -> RealStorageConfig { RealStorageConfig { log_dir : self . log_dir . clone ( ) . unwrap_or_else ( | | SPU_LOG_BASE_DIR . to_owned ( ) ) , size : self . size . clone ( ) . unwrap_or_else ( | | SPU_LOG_SIZE . to_owned ( ) ) , } }
fill in the values if not defined
that should be used
fill in the values if not defined that should be used
&self