Struct nydus_api::config::LocalDiskConfig
source · pub struct LocalDiskConfig {
pub device_path: String,
}Expand description
Configuration information for localdisk storage backend.
Fields§
§device_path: StringMounted block device path or original localdisk image file path.
Trait Implementations§
source§impl Clone for LocalDiskConfig
impl Clone for LocalDiskConfig
source§fn clone(&self) -> LocalDiskConfig
fn clone(&self) -> LocalDiskConfig
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 LocalDiskConfig
impl Debug for LocalDiskConfig
source§impl Default for LocalDiskConfig
impl Default for LocalDiskConfig
source§fn default() -> LocalDiskConfig
fn default() -> LocalDiskConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalDiskConfig
impl<'de> Deserialize<'de> for LocalDiskConfig
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<LocalDiskConfig> for LocalDiskConfig
impl PartialEq<LocalDiskConfig> for LocalDiskConfig
source§fn eq(&self, other: &LocalDiskConfig) -> bool
fn eq(&self, other: &LocalDiskConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LocalDiskConfig
impl Serialize for LocalDiskConfig
impl Eq for LocalDiskConfig
impl StructuralEq for LocalDiskConfig
impl StructuralPartialEq for LocalDiskConfig
Auto Trait Implementations§
impl RefUnwindSafe for LocalDiskConfig
impl Send for LocalDiskConfig
impl Sync for LocalDiskConfig
impl Unpin for LocalDiskConfig
impl UnwindSafe for LocalDiskConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more