pub enum LineageDirection {
Back,
Forward,
}Expand description
Direction of a OperatorPlan::LineageEmit walk.
Variants§
Back
Walk fork-of: parents toward ancestors. The
CapabilityIndex answer is direct: each chain’s
fork-of:<parent_hash> tag names its parent.
Forward
Walk fork-of: descendants. Scans every entry in the
capability index for a fork-of:<this_origin> tag,
BFS-style, sorted by chain hash for determinism.
Trait Implementations§
Source§impl Clone for LineageDirection
impl Clone for LineageDirection
Source§fn clone(&self) -> LineageDirection
fn clone(&self) -> LineageDirection
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 LineageDirection
Source§impl Debug for LineageDirection
impl Debug for LineageDirection
Source§impl<'de> Deserialize<'de> for LineageDirection
impl<'de> Deserialize<'de> for LineageDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LineageDirection
Source§impl PartialEq for LineageDirection
impl PartialEq for LineageDirection
Source§fn eq(&self, other: &LineageDirection) -> bool
fn eq(&self, other: &LineageDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LineageDirection
impl Serialize for LineageDirection
impl StructuralPartialEq for LineageDirection
Auto Trait Implementations§
impl Freeze for LineageDirection
impl RefUnwindSafe for LineageDirection
impl Send for LineageDirection
impl Sync for LineageDirection
impl Unpin for LineageDirection
impl UnsafeUnpin for LineageDirection
impl UnwindSafe for LineageDirection
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.