[][src]Enum buildkit_llb::prelude::Mount

pub enum Mount<'a, P: AsRef<Path>> {
    ReadOnlyLayer(OperationOutput<'a>, P),
    ReadOnlySelector(OperationOutput<'a>, P, P),
    Scratch(OutputIdx, P),
    Layer(OutputIdxOperationOutput<'a>, P),

Operand of command execution operation that specifies how are input sources mounted.


ReadOnlyLayer(OperationOutput<'a>, P)

Read-only output of another operation.

ReadOnlySelector(OperationOutput<'a>, P, P)

Read-only output of another operation with a selector.

Scratch(OutputIdx, P)

Empty layer that produces an output.

Layer(OutputIdxOperationOutput<'a>, P)

Writable output of another operation.


Writable persistent cache.


Optional SSH agent socket at the specified path.


impl<'a, P: AsRef<Path>> Mount<'a, P>[src]

pub fn into_owned(self) -> Mount<'a, PathBuf>[src]

Transform the mount into owned variant (basically, with PathBuf as the path).

pub fn is_root(&self) -> bool[src]

Trait Implementations

impl<'a, P: Clone + AsRef<Path>> Clone for Mount<'a, P>[src]

impl<'a, P: Debug + AsRef<Path>> Debug for Mount<'a, P>[src]

Auto Trait Implementations

impl<'a, P> !RefUnwindSafe for Mount<'a, P>

impl<'a, P> Send for Mount<'a, P> where
    P: Send

impl<'a, P> Sync for Mount<'a, P> where
    P: Sync

impl<'a, P> Unpin for Mount<'a, P> where
    P: Unpin

impl<'a, P> !UnwindSafe for Mount<'a, P>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.