pub enum DataflowLaw {
JoinIdempotent,
JoinCommutative,
JoinAssociative,
Bottom,
PartialOrderConsistent,
TransferDeterministic,
TransferMonotone,
TransferProgress,
}Expand description
A law whose failure makes a lattice or transfer policy inadmissible.
Variants§
JoinIdempotent
a join a = a.
JoinCommutative
a join b = b join a.
JoinAssociative
(a join b) join c = a join (b join c).
Bottom
Bottom is below every state and is the identity of join.
PartialOrderConsistent
The declared order agrees with join and is reflexive and antisymmetric.
TransferDeterministic
Repeated evaluation at one input produces the same result.
TransferMonotone
Transfer preserves ordering between comparable inputs.
TransferProgress
Transfer never retracts facts from its input.
Trait Implementations§
Source§impl Clone for DataflowLaw
impl Clone for DataflowLaw
Source§fn clone(&self) -> DataflowLaw
fn clone(&self) -> DataflowLaw
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 moreimpl Copy for DataflowLaw
Source§impl Debug for DataflowLaw
impl Debug for DataflowLaw
impl Eq for DataflowLaw
Source§impl PartialEq for DataflowLaw
impl PartialEq for DataflowLaw
impl StructuralPartialEq for DataflowLaw
Auto Trait Implementations§
impl Freeze for DataflowLaw
impl RefUnwindSafe for DataflowLaw
impl Send for DataflowLaw
impl Sync for DataflowLaw
impl Unpin for DataflowLaw
impl UnsafeUnpin for DataflowLaw
impl UnwindSafe for DataflowLaw
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