Home
runx-runtime

runx_runtime::receipts::paths

Structs §

RuntimeReceiptConfig §

pub struct runx_runtime::receipts::paths::RuntimeReceiptConfig { /* ... */ }

Trait Implementations §

impl Borrow for RuntimeReceiptConfig

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for RuntimeReceiptConfig

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for RuntimeReceiptConfig

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for RuntimeReceiptConfig

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for RuntimeReceiptConfig

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for RuntimeReceiptConfig

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for RuntimeReceiptConfig

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for RuntimeReceiptConfig

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for RuntimeReceiptConfig

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for RuntimeReceiptConfig

Output

impl Equivalent for RuntimeReceiptConfig

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for RuntimeReceiptConfig

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for RuntimeReceiptConfig

clone

fn clone(self: &Self) -> RuntimeReceiptConfig

impl Debug for RuntimeReceiptConfig

impl Default for RuntimeReceiptConfig

default

fn default() -> RuntimeReceiptConfig

impl PartialEq for RuntimeReceiptConfig

eq

fn eq(self: &Self, other: &RuntimeReceiptConfig) -> bool

impl Send for RuntimeReceiptConfig

impl Sync for RuntimeReceiptConfig

impl Freeze for RuntimeReceiptConfig

impl UnsafeUnpin for RuntimeReceiptConfig

impl Unpin for RuntimeReceiptConfig

impl UnwindSafe for RuntimeReceiptConfig

impl RefUnwindSafe for RuntimeReceiptConfig

impl StructuralPartialEq for RuntimeReceiptConfig

impl Eq for RuntimeReceiptConfig

ReceiptStoreLabel §

pub struct runx_runtime::receipts::paths::ReceiptStoreLabel { /* ... */ }

Implementations §

impl ReceiptStoreLabel

as_str

fn as_str(self: &Self) -> &str
#[must_use]

Trait Implementations §

impl Borrow for ReceiptStoreLabel

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ReceiptStoreLabel

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for ReceiptStoreLabel

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for ReceiptStoreLabel

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for ReceiptStoreLabel

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ReceiptStoreLabel

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for ReceiptStoreLabel

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for ReceiptStoreLabel

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ReceiptStoreLabel

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl ToString for ReceiptStoreLabel

to_string

fn to_string(self: &Self) -> String

impl Same for ReceiptStoreLabel

Output

impl Equivalent for ReceiptStoreLabel

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for ReceiptStoreLabel

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for ReceiptStoreLabel

clone

fn clone(self: &Self) -> ReceiptStoreLabel

impl Debug for ReceiptStoreLabel

impl PartialEq for ReceiptStoreLabel

eq

fn eq(self: &Self, other: &ReceiptStoreLabel) -> bool

impl Display for ReceiptStoreLabel

fmt

fn fmt(self: &Self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result

impl Send for ReceiptStoreLabel

impl Sync for ReceiptStoreLabel

impl Freeze for ReceiptStoreLabel

impl UnsafeUnpin for ReceiptStoreLabel

impl Unpin for ReceiptStoreLabel

impl UnwindSafe for ReceiptStoreLabel

impl RefUnwindSafe for ReceiptStoreLabel

impl StructuralPartialEq for ReceiptStoreLabel

impl Eq for ReceiptStoreLabel

ReceiptStorePublicProjection §

pub struct runx_runtime::receipts::paths::ReceiptStorePublicProjection { /* ... */ }

Implementations §

impl ReceiptStorePublicProjection

label

fn label(self: &Self) -> &ReceiptStoreLabel
#[must_use]

summary

fn summary(self: &Self) -> String
#[must_use]

Trait Implementations §

impl Borrow for ReceiptStorePublicProjection

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ReceiptStorePublicProjection

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for ReceiptStorePublicProjection

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for ReceiptStorePublicProjection

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for ReceiptStorePublicProjection

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ReceiptStorePublicProjection

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for ReceiptStorePublicProjection

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for ReceiptStorePublicProjection

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ReceiptStorePublicProjection

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl ToString for ReceiptStorePublicProjection

to_string

fn to_string(self: &Self) -> String

impl Same for ReceiptStorePublicProjection

Output

impl Equivalent for ReceiptStorePublicProjection

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for ReceiptStorePublicProjection

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for ReceiptStorePublicProjection

clone

fn clone(self: &Self) -> ReceiptStorePublicProjection

impl Debug for ReceiptStorePublicProjection

impl PartialEq for ReceiptStorePublicProjection

eq

fn eq(self: &Self, other: &ReceiptStorePublicProjection) -> bool

impl Display for ReceiptStorePublicProjection

fmt

fn fmt(self: &Self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result

impl Send for ReceiptStorePublicProjection

impl Sync for ReceiptStorePublicProjection

impl Freeze for ReceiptStorePublicProjection

impl UnsafeUnpin for ReceiptStorePublicProjection

impl Unpin for ReceiptStorePublicProjection

impl UnwindSafe for ReceiptStorePublicProjection

impl RefUnwindSafe for ReceiptStorePublicProjection

impl StructuralPartialEq for ReceiptStorePublicProjection

impl Eq for ReceiptStorePublicProjection

ResolvedReceiptPath §

pub struct runx_runtime::receipts::paths::ResolvedReceiptPath { /* ... */ }

Implementations §

impl ResolvedReceiptPath

public_projection

fn public_projection(self: &Self) -> ReceiptStorePublicProjection
#[must_use]

Trait Implementations §

impl Borrow for ResolvedReceiptPath

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ResolvedReceiptPath

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for ResolvedReceiptPath

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for ResolvedReceiptPath

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for ResolvedReceiptPath

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ResolvedReceiptPath

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for ResolvedReceiptPath

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for ResolvedReceiptPath

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ResolvedReceiptPath

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for ResolvedReceiptPath

Output

impl Equivalent for ResolvedReceiptPath

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for ResolvedReceiptPath

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for ResolvedReceiptPath

clone

fn clone(self: &Self) -> ResolvedReceiptPath

impl Debug for ResolvedReceiptPath

impl PartialEq for ResolvedReceiptPath

eq

fn eq(self: &Self, other: &ResolvedReceiptPath) -> bool

impl Send for ResolvedReceiptPath

impl Sync for ResolvedReceiptPath

impl Freeze for ResolvedReceiptPath

impl UnsafeUnpin for ResolvedReceiptPath

impl Unpin for ResolvedReceiptPath

impl UnwindSafe for ResolvedReceiptPath

impl RefUnwindSafe for ResolvedReceiptPath

impl StructuralPartialEq for ResolvedReceiptPath

impl Eq for ResolvedReceiptPath

ReceiptPathInputs §

pub struct runx_runtime::receipts::paths::ReceiptPathInputs { /* ... */ }

Trait Implementations §

impl Borrow for ReceiptPathInputs

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ReceiptPathInputs

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for ReceiptPathInputs

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for ReceiptPathInputs

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for ReceiptPathInputs

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ReceiptPathInputs

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for ReceiptPathInputs

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for ReceiptPathInputs

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ReceiptPathInputs

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for ReceiptPathInputs

Output

impl Clone for ReceiptPathInputs

clone

fn clone(self: &Self) -> ReceiptPathInputs<'a>

impl Debug for ReceiptPathInputs

impl Send for ReceiptPathInputs

impl Sync for ReceiptPathInputs

impl Freeze for ReceiptPathInputs

impl UnsafeUnpin for ReceiptPathInputs

impl Unpin for ReceiptPathInputs

impl UnwindSafe for ReceiptPathInputs

impl RefUnwindSafe for ReceiptPathInputs

impl Copy for ReceiptPathInputs

Enums §

ReceiptPathSource §

pub enum runx_runtime::receipts::paths::ReceiptPathSource { /* ... */ }

Trait Implementations §

impl Borrow for ReceiptPathSource

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ReceiptPathSource

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for ReceiptPathSource

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for ReceiptPathSource

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for ReceiptPathSource

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ReceiptPathSource

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for ReceiptPathSource

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for ReceiptPathSource

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ReceiptPathSource

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for ReceiptPathSource

Output

impl Equivalent for ReceiptPathSource

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for ReceiptPathSource

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for ReceiptPathSource

clone

fn clone(self: &Self) -> ReceiptPathSource

impl Debug for ReceiptPathSource

impl PartialEq for ReceiptPathSource

eq

fn eq(self: &Self, other: &ReceiptPathSource) -> bool

impl Send for ReceiptPathSource

impl Sync for ReceiptPathSource

impl Freeze for ReceiptPathSource

impl UnsafeUnpin for ReceiptPathSource

impl Unpin for ReceiptPathSource

impl UnwindSafe for ReceiptPathSource

impl RefUnwindSafe for ReceiptPathSource

impl Copy for ReceiptPathSource

impl StructuralPartialEq for ReceiptPathSource

impl Eq for ReceiptPathSource

Constants §

RUNTIME_RECEIPTS_DIR_CONFIG_KEY §

pub const runx_runtime::receipts::paths::RUNTIME_RECEIPTS_DIR_CONFIG_KEY: &str = "runtime.receipts.dir";

RUNX_RECEIPT_DIR_ENV §

pub const runx_runtime::receipts::paths::RUNX_RECEIPT_DIR_ENV: &str = "RUNX_RECEIPT_DIR";

RUNX_PROJECT_DIR_ENV §

pub const runx_runtime::receipts::paths::RUNX_PROJECT_DIR_ENV: &str = "RUNX_PROJECT_DIR";

RUNX_CWD_ENV §

pub const runx_runtime::receipts::paths::RUNX_CWD_ENV: &str = "RUNX_CWD";

INIT_CWD_ENV §

pub const runx_runtime::receipts::paths::INIT_CWD_ENV: &str = "INIT_CWD";

Functions §

resolve_receipt_path §

fn resolve_receipt_path(inputs: ReceiptPathInputs<'_>) -> ResolvedReceiptPath
#[must_use]

resolve_workspace_base §

fn resolve_workspace_base( env: &std::collections::BTreeMap<String, String>, cwd: &std::path::Path ) -> std::path::PathBuf
#[must_use]

resolve_project_runx_dir §

fn resolve_project_runx_dir( env: &std::collections::BTreeMap<String, String>, workspace_base: &std::path::Path ) -> std::path::PathBuf
#[must_use]

safe_receipt_store_label §

fn safe_receipt_store_label( receipt_dir: &std::path::Path, workspace_base: &std::path::Path, project_runx_dir: &std::path::Path ) -> ReceiptStoreLabel
#[must_use]

safe_receipt_store_projection §

fn safe_receipt_store_projection( receipt_dir: &std::path::Path, workspace_base: &std::path::Path, project_runx_dir: &std::path::Path ) -> ReceiptStorePublicProjection
#[must_use]