runx-runtime
runx_runtime::receipts::store
Structs §
LocalReceiptStore §
pub struct runx_runtime::receipts::store::LocalReceiptStore { /* ... */ }
Implementations §
impl LocalReceiptStore
new
fn new(root: impl Into<PathBuf>) -> Self#[must_use]root
fn root(self: &Self) -> &Path#[must_use]public_projection
fn public_projection( self: &Self, workspace_base: &Path, project_runx_dir: &Path ) -> ReceiptStorePublicProjection#[must_use]read_exact
fn read_exact(self: &Self, receipt_id: &str) -> Result<Receipt, ReceiptStoreError>read_exact_with_policy
fn read_exact_with_policy( self: &Self, receipt_id: &str, signature_policy: RuntimeReceiptSignaturePolicy<'_> ) -> Result<Receipt, ReceiptStoreError>write_receipt
fn write_receipt(self: &Self, receipt: &Receipt) -> Result<(), ReceiptStoreError>write_receipt_with_policy
fn write_receipt_with_policy( self: &Self, receipt: &Receipt, signature_policy: RuntimeReceiptSignaturePolicy<'_> ) -> Result<(), ReceiptStoreError>list
fn list(self: &Self) -> Result<Vec<Receipt>, ReceiptStoreError>list_with_policy
fn list_with_policy( self: &Self, signature_policy: RuntimeReceiptSignaturePolicy<'_> ) -> Result<Vec<Receipt>, ReceiptStoreError>load_index
fn load_index(self: &Self) -> Result<ReceiptStoreIndex, ReceiptStoreError>load_index_with_policy
fn load_index_with_policy( self: &Self, signature_policy: RuntimeReceiptSignaturePolicy<'_> ) -> Result<ReceiptStoreIndex, ReceiptStoreError>rebuild_index
fn rebuild_index(self: &Self) -> Result<ReceiptStoreIndex, ReceiptStoreError>rebuild_index_with_policy
fn rebuild_index_with_policy( self: &Self, signature_policy: RuntimeReceiptSignaturePolicy<'_> ) -> Result<ReceiptStoreIndex, ReceiptStoreError>Trait Implementations §
impl Borrow for LocalReceiptStore
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for LocalReceiptStore
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for LocalReceiptStore
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for LocalReceiptStore
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for LocalReceiptStore
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for LocalReceiptStore
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for LocalReceiptStore
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for LocalReceiptStore
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for LocalReceiptStore
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for LocalReceiptStore
Output
impl Clone for LocalReceiptStore
clone
fn clone(self: &Self) -> LocalReceiptStoreimpl Debug for LocalReceiptStore
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Send for LocalReceiptStore
impl Sync for LocalReceiptStore
impl Freeze for LocalReceiptStore
impl UnsafeUnpin for LocalReceiptStore
impl Unpin for LocalReceiptStore
impl UnwindSafe for LocalReceiptStore
impl RefUnwindSafe for LocalReceiptStore
ReceiptStoreIndex §
pub struct runx_runtime::receipts::store::ReceiptStoreIndex { /* ... */ }
Trait Implementations §
impl Borrow for ReceiptStoreIndex
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for ReceiptStoreIndex
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for ReceiptStoreIndex
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for ReceiptStoreIndex
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for ReceiptStoreIndex
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for ReceiptStoreIndex
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for ReceiptStoreIndex
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for ReceiptStoreIndex
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for ReceiptStoreIndex
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for ReceiptStoreIndex
Output
impl Equivalent for ReceiptStoreIndex
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for ReceiptStoreIndex
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for ReceiptStoreIndex
clone
fn clone(self: &Self) -> ReceiptStoreIndeximpl Debug for ReceiptStoreIndex
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for ReceiptStoreIndex
eq
fn eq(self: &Self, other: &ReceiptStoreIndex) -> boolimpl Serialize for ReceiptStoreIndex
serialize
fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>impl Deserialize for ReceiptStoreIndex
deserialize
fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>impl Send for ReceiptStoreIndex
impl Sync for ReceiptStoreIndex
impl Freeze for ReceiptStoreIndex
impl UnsafeUnpin for ReceiptStoreIndex
impl Unpin for ReceiptStoreIndex
impl UnwindSafe for ReceiptStoreIndex
impl RefUnwindSafe for ReceiptStoreIndex
impl DeserializeOwned for ReceiptStoreIndex
impl StructuralPartialEq for ReceiptStoreIndex
impl Eq for ReceiptStoreIndex
ReceiptStoreIndexEntry §
pub struct runx_runtime::receipts::store::ReceiptStoreIndexEntry { /* ... */ }
Trait Implementations §
impl Borrow for ReceiptStoreIndexEntry
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for ReceiptStoreIndexEntry
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for ReceiptStoreIndexEntry
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for ReceiptStoreIndexEntry
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for ReceiptStoreIndexEntry
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for ReceiptStoreIndexEntry
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for ReceiptStoreIndexEntry
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for ReceiptStoreIndexEntry
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for ReceiptStoreIndexEntry
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for ReceiptStoreIndexEntry
Output
impl Equivalent for ReceiptStoreIndexEntry
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for ReceiptStoreIndexEntry
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for ReceiptStoreIndexEntry
clone
fn clone(self: &Self) -> ReceiptStoreIndexEntryimpl Debug for ReceiptStoreIndexEntry
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for ReceiptStoreIndexEntry
eq
fn eq(self: &Self, other: &ReceiptStoreIndexEntry) -> boolimpl Serialize for ReceiptStoreIndexEntry
serialize
fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>impl Deserialize for ReceiptStoreIndexEntry
deserialize
fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>impl Send for ReceiptStoreIndexEntry
impl Sync for ReceiptStoreIndexEntry
impl Freeze for ReceiptStoreIndexEntry
impl UnsafeUnpin for ReceiptStoreIndexEntry
impl Unpin for ReceiptStoreIndexEntry
impl UnwindSafe for ReceiptStoreIndexEntry
impl RefUnwindSafe for ReceiptStoreIndexEntry
impl DeserializeOwned for ReceiptStoreIndexEntry
impl StructuralPartialEq for ReceiptStoreIndexEntry
impl Eq for ReceiptStoreIndexEntry
Enums §
ReceiptStoreError §
pub enum runx_runtime::receipts::store::ReceiptStoreError { /* ... */ }
Implementations §
impl ReceiptStoreError
public_message
fn public_message(self: &Self, store_label: &ReceiptStoreLabel) -> String#[must_use]Trait Implementations §
impl Borrow for ReceiptStoreError
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for ReceiptStoreError
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl Into for ReceiptStoreError
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for ReceiptStoreError
from
fn from(t: T) -> TReturns the argument unchanged.