Struct nydus_api::config::LocalFsConfig
source · pub struct LocalFsConfig {
pub blob_file: String,
pub dir: String,
pub alt_dirs: Vec<String>,
}Expand description
Configuration information for localfs storage backend.
Fields§
§blob_file: StringBlob file to access.
dir: StringDir to hold blob files. Used when ‘blob_file’ is not specified.
alt_dirs: Vec<String>Alternative dirs to search for blobs.
Trait Implementations§
source§impl Clone for LocalFsConfig
impl Clone for LocalFsConfig
source§fn clone(&self) -> LocalFsConfig
fn clone(&self) -> LocalFsConfig
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 Debug for LocalFsConfig
impl Debug for LocalFsConfig
source§impl Default for LocalFsConfig
impl Default for LocalFsConfig
source§fn default() -> LocalFsConfig
fn default() -> LocalFsConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalFsConfig
impl<'de> Deserialize<'de> for LocalFsConfig
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
source§impl PartialEq<LocalFsConfig> for LocalFsConfig
impl PartialEq<LocalFsConfig> for LocalFsConfig
source§fn eq(&self, other: &LocalFsConfig) -> bool
fn eq(&self, other: &LocalFsConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.