Struct nydus_blobfs::BlobOndemandConfig
source · pub struct BlobOndemandConfig {
pub rafs_conf: ConfigV2,
pub bootstrap_path: String,
pub blob_cache_dir: String,
}
Expand description
Options that configure xxx
Fields§
§rafs_conf: ConfigV2
The rafs config used to set up rafs device for the purpose of
on demand read
.
bootstrap_path: String
THe path of bootstrap of an container image (for rafs in kernel).
The default is ``.
blob_cache_dir: String
The path of blob cache directory.
Trait Implementations§
source§impl Clone for BlobOndemandConfig
impl Clone for BlobOndemandConfig
source§fn clone(&self) -> BlobOndemandConfig
fn clone(&self) -> BlobOndemandConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BlobOndemandConfig
impl Default for BlobOndemandConfig
source§fn default() -> BlobOndemandConfig
fn default() -> BlobOndemandConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BlobOndemandConfig
impl<'de> Deserialize<'de> for BlobOndemandConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more