pub struct OverlayArgs<P, Q, R, M, N, I>where
P: AsRef<Path>,
Q: AsRef<Path>,
R: AsRef<Path>,
M: AsRef<str>,
N: Into<String>,
I: IntoIterator<Item = R>,{
pub mountpoint: P,
pub upperdir: Q,
pub lowerdir: I,
pub privileged: bool,
pub mapping: Option<M>,
pub name: Option<N>,
pub allow_other: bool,
}Expand description
Wrap the parameters for mounting overlay filesystem.
Fields§
§mountpoint: P§upperdir: Q§lowerdir: I§privileged: bool§mapping: Option<M>§name: Option<N>§allow_other: boolTrait Implementations§
Source§impl<P, Q, R, M, N, I> Clone for OverlayArgs<P, Q, R, M, N, I>
impl<P, Q, R, M, N, I> Clone for OverlayArgs<P, Q, R, M, N, I>
Source§fn clone(&self) -> OverlayArgs<P, Q, R, M, N, I>
fn clone(&self) -> OverlayArgs<P, Q, R, M, N, I>
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<P, Q, R, M, N, I> Debug for OverlayArgs<P, Q, R, M, N, I>
impl<P, Q, R, M, N, I> Debug for OverlayArgs<P, Q, R, M, N, I>
Auto Trait Implementations§
impl<P, Q, R, M, N, I> Freeze for OverlayArgs<P, Q, R, M, N, I>
impl<P, Q, R, M, N, I> RefUnwindSafe for OverlayArgs<P, Q, R, M, N, I>
impl<P, Q, R, M, N, I> Send for OverlayArgs<P, Q, R, M, N, I>
impl<P, Q, R, M, N, I> Sync for OverlayArgs<P, Q, R, M, N, I>
impl<P, Q, R, M, N, I> Unpin for OverlayArgs<P, Q, R, M, N, I>
impl<P, Q, R, M, N, I> UnsafeUnpin for OverlayArgs<P, Q, R, M, N, I>
impl<P, Q, R, M, N, I> UnwindSafe for OverlayArgs<P, Q, R, M, N, I>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more