Enum aer::runtime::CellServiceCommands
source · pub enum CellServiceCommands {
Allocate {
cell_name: String,
cell_cpu_weight: Option<u64>,
cell_cpu_max: Option<i64>,
cell_cpu_period: Option<u64>,
cell_cpuset_cpus: Option<String>,
cell_cpuset_mems: Option<String>,
cell_memory_min: Option<i64>,
cell_memory_low: Option<i64>,
cell_memory_high: Option<i64>,
cell_memory_max: Option<i64>,
cell_isolate_process: bool,
cell_isolate_network: bool,
},
Free {
cell_name: String,
},
Start {
cell_name: Option<String>,
executable_name: String,
executable_command: String,
executable_description: String,
},
Stop {
cell_name: Option<String>,
executable_name: String,
},
List,
}
Variants§
Implementations§
Trait Implementations§
source§impl Debug for CellServiceCommands
impl Debug for CellServiceCommands
source§impl FromArgMatches for CellServiceCommands
impl FromArgMatches for CellServiceCommands
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Subcommand for CellServiceCommands
impl Subcommand for CellServiceCommands
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations§
impl Freeze for CellServiceCommands
impl RefUnwindSafe for CellServiceCommands
impl Send for CellServiceCommands
impl Sync for CellServiceCommands
impl Unpin for CellServiceCommands
impl UnwindSafe for CellServiceCommands
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
§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>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request