pub struct OverlayConfig {
pub upper_dir: String,
pub work_dir: String,
}Expand description
Configuration information for Overlay filesystem. OverlayConfig is used to configure the writable layer(upper layer), The filesystem will be writable when OverlayConfig is set.
Fields§
§upper_dir: String§work_dir: StringTrait Implementations§
Source§impl Clone for OverlayConfig
impl Clone for OverlayConfig
Source§fn clone(&self) -> OverlayConfig
fn clone(&self) -> OverlayConfig
Returns a duplicate 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 OverlayConfig
impl Debug for OverlayConfig
Source§impl Default for OverlayConfig
impl Default for OverlayConfig
Source§fn default() -> OverlayConfig
fn default() -> OverlayConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OverlayConfig
impl<'de> Deserialize<'de> for OverlayConfig
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 for OverlayConfig
impl PartialEq for OverlayConfig
Source§impl Serialize for OverlayConfig
impl Serialize for OverlayConfig
impl Eq for OverlayConfig
impl StructuralPartialEq for OverlayConfig
Auto Trait Implementations§
impl Freeze for OverlayConfig
impl RefUnwindSafe for OverlayConfig
impl Send for OverlayConfig
impl Sync for OverlayConfig
impl Unpin for OverlayConfig
impl UnwindSafe for OverlayConfig
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