Home
runx-core

runx_core::policy::authority_algebra

Structs §

AuthorityEffectGuardDecision §

pub struct runx_core::policy::authority_algebra::AuthorityEffectGuardDecision { /* ... */ }

Trait Implementations §

impl Borrow for AuthorityEffectGuardDecision

borrow

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

impl BorrowMut for AuthorityEffectGuardDecision

borrow_mut

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

impl CloneToUninit for AuthorityEffectGuardDecision

clone_to_uninit

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

impl Into for AuthorityEffectGuardDecision

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 AuthorityEffectGuardDecision

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for AuthorityEffectGuardDecision

Error

try_into

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

impl TryFrom for AuthorityEffectGuardDecision

Error

try_from

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

impl Any for AuthorityEffectGuardDecision

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for AuthorityEffectGuardDecision

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for AuthorityEffectGuardDecision

Output

impl Clone for AuthorityEffectGuardDecision

clone

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

impl Debug for AuthorityEffectGuardDecision

impl PartialEq for AuthorityEffectGuardDecision

eq

fn eq(self: &Self, other: &AuthorityEffectGuardDecision<'a>) -> bool

impl Send for AuthorityEffectGuardDecision

impl Sync for AuthorityEffectGuardDecision

impl Freeze for AuthorityEffectGuardDecision

impl UnsafeUnpin for AuthorityEffectGuardDecision

impl Unpin for AuthorityEffectGuardDecision

impl UnwindSafe for AuthorityEffectGuardDecision

impl RefUnwindSafe for AuthorityEffectGuardDecision

impl StructuralPartialEq for AuthorityEffectGuardDecision

impl Eq for AuthorityEffectGuardDecision

Functions §

same_reference_address §

fn same_reference_address( child: &runx_contracts::Reference, parent: &runx_contracts::Reference ) -> bool
#[must_use]

authority_term_has_verb §

fn authority_term_has_verb( term: &runx_contracts::AuthorityTerm, verb: runx_contracts::AuthorityVerb ) -> bool
#[must_use]

authority_effect_family §

fn authority_effect_family( parent: &'a runx_contracts::AuthorityTerm, child: &'a runx_contracts::AuthorityTerm ) -> Option<&'a str>
#[must_use]

evaluate_authority_effect_guards §

fn evaluate_authority_effect_guards( parent: &'a runx_contracts::AuthorityTerm, child: &'a runx_contracts::AuthorityTerm, family: &'a str ) -> AuthorityEffectGuardDecision<'a>
#[must_use]

authority_effect_guard_required §

fn authority_effect_guard_required( term: &runx_contracts::AuthorityTerm, family: &str, guard_kind: runx_contracts::AuthorityEffectGuardKind ) -> bool
#[must_use]

authority_effect_proof_kinds §

fn authority_effect_proof_kinds( parent: &runx_contracts::AuthorityTerm, child: &runx_contracts::AuthorityTerm, family: &str ) -> Vec<runx_contracts::ProofKind>
#[must_use]

items_subset §

fn items_subset(child: &[T], parent: &[T]) -> bool
#[must_use]

parent_items_preserved §

fn parent_items_preserved(child: &[T], parent: &[T]) -> bool
#[must_use]

optional_exact_or_narrower §

fn optional_exact_or_narrower(child: &Option<T>, parent: &Option<T>) -> bool
#[must_use]

optional_bound_subset §

fn optional_bound_subset(child: Option<T>, parent: Option<T>) -> bool
#[must_use]

optional_ref_bound_subset §

fn optional_ref_bound_subset(child: Option<&T>, parent: Option<&T>) -> bool
#[must_use]