Skip to main content

L

Enum L 

Source
pub enum L {
    Finite {
        table: Arc<Table>,
        index: usize,
        evidence: BTreeSet<String>,
    },
    Bool(bool),
    Addrs(BTreeSet<String>),
    Vals(BTreeMap<String, Value>),
    Entries(BTreeMap<String, Value>),
    Amounts(BTreeMap<String, i128>),
    Chain(Option<(Key, Option<Value>)>),
    Writes(BTreeMap<String, String>),
    Replaced(BTreeSet<(String, String)>),
    Sole(Sole),
    History(BTreeMap<String, Act>),
    Pair(Box<L>, Box<L>),
}
Expand description

Lattice carriers. Every variant is a join-semilattice with a bottom; joins are only defined between the same variant.

Variants§

§

Finite

Fields

§table: Arc<Table>
§index: usize
§evidence: BTreeSet<String>
§

Bool(bool)

Boolean under or.

§

Addrs(BTreeSet<String>)

Addresses under union.

§

Vals(BTreeMap<String, Value>)

Distinct values keyed by their canonical rendering, under union.

§

Entries(BTreeMap<String, Value>)

Address → contribution (events), under union.

§

Amounts(BTreeMap<String, i128>)

Address → integer amount, under union.

§

Chain(Option<(Key, Option<Value>)>)

The greatest clocked candidate.

§

Writes(BTreeMap<String, String>)

Writes: address → group rendering.

§

Replaced(BTreeSet<(String, String)>)

Replaced: (group rendering, address).

§

Sole(Sole)

The unique-opener carrier.

§

History(BTreeMap<String, Act>)

Domain-governed contributions retain raw evidence; filtering is a read/display operation (SPEC-038 ADR-3805).

§

Pair(Box<L>, Box<L>)

Implementations§

Source§

impl L

Source

pub fn join(self, other: L) -> L

The join. Mismatched variants join to the left operand; factor never produces them.

Trait Implementations§

Source§

impl Clone for L

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for L

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Eq for L

Source§

impl PartialEq for L

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for L

Auto Trait Implementations§

§

impl Forget for L

§

impl Freeze for L
where *const ArcInner<Table> is !null: Freeze, PhantomData<ArcInner<Table>>: Freeze, *const LeafNode<String, SetValZST> is !null: Freeze, PhantomData<(Owned, LeafOrInternal)>: Freeze, PhantomData<Box<(String, SetValZST)>>: Freeze, *const LeafNode<String, Value> is !null: Freeze, PhantomData<Box<(String, Value)>>: Freeze, *const LeafNode<String, i128> is !null: Freeze, PhantomData<Box<(String, i128)>>: Freeze, *const u8 is !null: Freeze, PhantomData<u8>: Freeze, PhantomData<Value>: Freeze, PhantomData<(Value, Value)>: Freeze, *const Value is !null: Freeze, *const LeafNode<String, String> is !null: Freeze, PhantomData<Box<(String, String)>>: Freeze, *const LeafNode<(String, String), SetValZST> is !null: Freeze, PhantomData<Box<((String, String), SetValZST)>>: Freeze, *const LeafNode<String, Act> is !null: Freeze, PhantomData<Box<(String, Act)>>: Freeze, *const L is !null: Freeze, PhantomData<L>: Freeze,

§

impl Move for L

§

impl RefUnwindSafe for L

§

impl Send for L
where Arc<Table>: Send, NodeRef<Owned, String, SetValZST, LeafOrInternal>: Send, BoxRaw<(String, SetValZST)>: Send, NodeRef<Owned, String, Value, LeafOrInternal>: Send, BoxRaw<(String, Value)>: Send, NodeRef<Owned, String, i128, LeafOrInternal>: Send, BoxRaw<(String, i128)>: Send, RawVecInner: Send, BoxRaw<Value>: Send, NodeRef<Owned, String, String, LeafOrInternal>: Send, BoxRaw<(String, String)>: Send, NodeRef<Owned, (String, String), SetValZST, LeafOrInternal>: Send, BoxRaw<((String, String), SetValZST)>: Send, NodeRef<Owned, String, Act, LeafOrInternal>: Send, BoxRaw<(String, Act)>: Send, BoxRaw<L>: Send,

§

impl Sync for L
where Arc<Table>: Sync, NodeRef<Owned, String, SetValZST, LeafOrInternal>: Sync, BoxRaw<(String, SetValZST)>: Sync, NodeRef<Owned, String, Value, LeafOrInternal>: Sync, BoxRaw<(String, Value)>: Sync, NodeRef<Owned, String, i128, LeafOrInternal>: Sync, BoxRaw<(String, i128)>: Sync, RawVecInner: Sync, BoxRaw<Value>: Sync, NodeRef<Owned, String, String, LeafOrInternal>: Sync, BoxRaw<(String, String)>: Sync, NodeRef<Owned, (String, String), SetValZST, LeafOrInternal>: Sync, BoxRaw<((String, String), SetValZST)>: Sync, NodeRef<Owned, String, Act, LeafOrInternal>: Sync, BoxRaw<(String, Act)>: Sync, BoxRaw<L>: Sync,

§

impl Unpin for L
where Arc<Table>: Unpin, *const LeafNode<String, SetValZST> is !null: Unpin, Box<(String, SetValZST)>: Unpin, *const LeafNode<String, Value> is !null: Unpin, Box<(String, Value)>: Unpin, *const LeafNode<String, i128> is !null: Unpin, Box<(String, i128)>: Unpin, *const u8 is !null: Unpin, Box<Value>: Unpin, *const LeafNode<String, String> is !null: Unpin, Box<(String, String)>: Unpin, *const LeafNode<(String, String), SetValZST> is !null: Unpin, Box<((String, String), SetValZST)>: Unpin, *const LeafNode<String, Act> is !null: Unpin, Box<(String, Act)>: Unpin, Box<L>: Unpin,

§

impl UnsafeUnpin for L

§

impl UnwindSafe for L

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

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

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

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

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.