#[repr(i32)]pub enum DomainCountMode {
Rows = 0,
DistinctTerms = 1,
DistinctGraphs = 2,
}Expand description
What one run-count increment of the domain count scan represents. A run is the (constraint, term) prefix extent of one DomainScanCountHit; inside it the key order is slot 2 then G, with version rows under each logical (slot-2, G) pair.
Variants§
Rows = 0
One per visible Put row — the bag of (slot-2, G) pairs.
DistinctTerms = 1
One per distinct slot-2 term with at least one visible row: graph multiplicity collapses (a subject typed in three graphs counts once).
DistinctGraphs = 2
One per distinct G term with at least one visible row. Must not be combined with merge_default_graph (merge collapses G); a request that does is invalid_argument.
Implementations§
Source§impl DomainCountMode
impl DomainCountMode
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for DomainCountMode
impl Clone for DomainCountMode
Source§fn clone(&self) -> DomainCountMode
fn clone(&self) -> DomainCountMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DomainCountMode
impl Debug for DomainCountMode
Source§impl Default for DomainCountMode
impl Default for DomainCountMode
Source§fn default() -> DomainCountMode
fn default() -> DomainCountMode
Source§impl From<DomainCountMode> for i32
impl From<DomainCountMode> for i32
Source§fn from(value: DomainCountMode) -> i32
fn from(value: DomainCountMode) -> i32
Source§impl Hash for DomainCountMode
impl Hash for DomainCountMode
Source§impl Ord for DomainCountMode
impl Ord for DomainCountMode
Source§fn cmp(&self, other: &DomainCountMode) -> Ordering
fn cmp(&self, other: &DomainCountMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for DomainCountMode
impl PartialEq for DomainCountMode
Source§impl PartialOrd for DomainCountMode
impl PartialOrd for DomainCountMode
Source§impl TryFrom<i32> for DomainCountMode
impl TryFrom<i32> for DomainCountMode
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<DomainCountMode, UnknownEnumValue>
fn try_from(value: i32) -> Result<DomainCountMode, UnknownEnumValue>
impl Copy for DomainCountMode
impl Eq for DomainCountMode
impl StructuralPartialEq for DomainCountMode
Auto Trait Implementations§
impl Freeze for DomainCountMode
impl RefUnwindSafe for DomainCountMode
impl Send for DomainCountMode
impl Sync for DomainCountMode
impl Unpin for DomainCountMode
impl UnsafeUnpin for DomainCountMode
impl UnwindSafe for DomainCountMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].