pub enum StandardCommand {
MetricQuery,
MetricList,
MetricInfo,
MetricLabels,
MetricLabelValues,
MetricSeries,
LogSearch,
TraceSearch,
TraceGet,
}Expand description
Identifies a standard (core) command in the obz CLI.
Used as the key in
ProviderMeta::command_flags
to associate provider-specific flags with specific commands.
Variants§
MetricQuery
obz metric query
MetricList
obz metric list
MetricInfo
obz metric info
MetricLabels
obz metric labels
MetricLabelValues
obz metric label-values
MetricSeries
obz metric series
LogSearch
obz log search
TraceSearch
obz trace search
TraceGet
obz trace get
Implementations§
Trait Implementations§
Source§impl Clone for StandardCommand
impl Clone for StandardCommand
Source§fn clone(&self) -> StandardCommand
fn clone(&self) -> StandardCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StandardCommand
impl Debug for StandardCommand
Source§impl Hash for StandardCommand
impl Hash for StandardCommand
Source§impl PartialEq for StandardCommand
impl PartialEq for StandardCommand
impl Copy for StandardCommand
impl Eq for StandardCommand
impl StructuralPartialEq for StandardCommand
Auto Trait Implementations§
impl Freeze for StandardCommand
impl RefUnwindSafe for StandardCommand
impl Send for StandardCommand
impl Sync for StandardCommand
impl Unpin for StandardCommand
impl UnsafeUnpin for StandardCommand
impl UnwindSafe for StandardCommand
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,
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.