pub enum Command {
Status {
service: Option<String>,
verbose: bool,
json: bool,
},
Restart {
service: Option<String>,
force: bool,
},
Config(ConfigCommand),
Metrics {
json: bool,
service: Option<String>,
},
Logs {
service: Option<String>,
tail: Option<usize>,
filter: Option<String>,
follow: bool,
},
Debug(DebugCommand),
Help {
command: Option<String>,
},
Version,
}Expand description
Main CLI command enum
Variants§
Status
Status command - check daemon and service status
Restart
Restart command - restart services
Config(ConfigCommand)
Configuration commands
Metrics
Metrics command - retrieve performance metrics
Logs
Logs command - view daemon logs
Debug(DebugCommand)
Debug commands
Help
Help command
Version
Version command
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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> 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>
Wrap the input message
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>,
Applies the layer to a service and wraps it in [
Layered].