[][src]Struct elba::retrieve::cache::OutputLayout

pub struct OutputLayout {
    pub root: PathBuf,
    pub artifacts: PathBuf,
    pub bin: PathBuf,
    pub docs: PathBuf,
    pub lib: PathBuf,
    pub build: PathBuf,
    pub hash: Option<BuildHash>,
    // some fields omitted
}

The Layout of an output directory. This is used either as the target directory or one of the folders in a temporary build directory in the global cache.

Fields

root: PathBufartifacts: PathBufbin: PathBufdocs: PathBuflib: PathBufbuild: PathBufhash: Option<BuildHash>

Methods

impl OutputLayout[src]

pub fn new(lock: DirLock) -> Res<Self>[src]

pub fn write_hash(&self, hash: &BuildHash) -> Res<()>[src]

pub fn is_built(&self, hash: &BuildHash) -> bool[src]

Trait Implementations

impl Debug for OutputLayout[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<T> Erased for T

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self