pub enum StatsGroup {
None,
Rcode,
Qtype,
Geo,
Name,
EventType,
Client,
}Expand description
How series are split (group_by). Each route takes only some of them (see the
method); Core answers ErrorCode::Validation for
others.
Variants§
None
One series.
Rcode
Per rcode (NOERROR, NXDOMAIN, …).
Qtype
Per query type.
Geo
Per client country.
Name
Per queried name.
EventType
Per client event type (normal, sinkhole = blocked, negative, …).
Client
Per client identity.
Implementations§
Trait Implementations§
Source§impl Clone for StatsGroup
impl Clone for StatsGroup
Source§fn clone(&self) -> StatsGroup
fn clone(&self) -> StatsGroup
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 StatsGroup
Source§impl Debug for StatsGroup
impl Debug for StatsGroup
Source§impl Display for StatsGroup
impl Display for StatsGroup
impl Eq for StatsGroup
Source§impl FromStr for StatsGroup
impl FromStr for StatsGroup
Source§impl PartialEq for StatsGroup
impl PartialEq for StatsGroup
impl StructuralPartialEq for StatsGroup
Auto Trait Implementations§
impl Freeze for StatsGroup
impl RefUnwindSafe for StatsGroup
impl Send for StatsGroup
impl Sync for StatsGroup
impl Unpin for StatsGroup
impl UnsafeUnpin for StatsGroup
impl UnwindSafe for StatsGroup
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<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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
key and return true if they are equal.