pub struct RequirementInputs {
pub enforcement: u8,
pub evidence_required: u64,
pub evidence_available: u64,
pub conflict_present: u64,
pub conflict_forbidden: u64,
}Expand description
One requirement’s admission inputs (the per-requirement slice of V/Q).
Fields§
§enforcement: u8Enforcement code: 0 Unsupported, 1 Mediated, 2 Enforced.
evidence_required: u64Required evidence bitset.
evidence_available: u64Backend-available evidence bitset.
conflict_present: u64Present-primitive bitset (for conflict freedom).
conflict_forbidden: u64Forbidden-primitive bitset.
Trait Implementations§
Source§impl Clone for RequirementInputs
impl Clone for RequirementInputs
Source§fn clone(&self) -> RequirementInputs
fn clone(&self) -> RequirementInputs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequirementInputs
impl Debug for RequirementInputs
impl Eq for RequirementInputs
Source§impl PartialEq for RequirementInputs
impl PartialEq for RequirementInputs
Source§fn eq(&self, other: &RequirementInputs) -> bool
fn eq(&self, other: &RequirementInputs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequirementInputs
Auto Trait Implementations§
impl Freeze for RequirementInputs
impl RefUnwindSafe for RequirementInputs
impl Send for RequirementInputs
impl Sync for RequirementInputs
impl Unpin for RequirementInputs
impl UnsafeUnpin for RequirementInputs
impl UnwindSafe for RequirementInputs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more