pub enum Commands {
Show 13 variants
Servers,
Capabilities {
server: Option<String>,
},
Browse {
server: Option<String>,
session_id: Option<String>,
parent_node_key: Option<String>,
page_token: Option<String>,
page_size: Option<u32>,
all: bool,
max_results: Option<u32>,
refresh: bool,
},
CloseBrowseSession {
session_id: String,
},
Search {
query: String,
server: Option<String>,
match_mode: SearchMode,
session_id: Option<String>,
scope_node_key: Option<String>,
max_results: Option<u32>,
include_branches: bool,
refresh: bool,
},
IndexStatus {
server: Option<String>,
},
IndexSearch {
query: String,
server: Option<String>,
match_mode: SearchMode,
max_results: Option<u32>,
},
IndexRefresh {
server: Option<String>,
force: bool,
},
IndexPause {
server: Option<String>,
},
IndexResume {
server: Option<String>,
},
IndexCancel {
server: Option<String>,
},
Read {
server: Option<String>,
tags: Vec<String>,
},
Write {
server: Option<String>,
tag: String,
value: String,
},
}Variants§
Servers
List available OPC DA servers
Capabilities
Show gateway and namespace capabilities for an OPC DA server
Browse
Browse one bounded page of immediate namespace children
Fields
CloseBrowseSession
Release an active browse session
Search
Search the live namespace with progressive results and progress events
Fields
§
match_mode: SearchModeMatch mode: exact, prefix, or contains
IndexStatus
Show persistent namespace-index status and build progress
IndexSearch
Search the persistent namespace index without live traversal
Fields
§
match_mode: SearchModeMatch mode: exact, prefix, or contains
IndexRefresh
Start or coalesce a persistent namespace-index refresh
IndexPause
Pause an active persistent namespace-index build
IndexResume
Resume a paused persistent namespace-index build
IndexCancel
Cancel an active persistent namespace-index build
Read
Read tag values
Write
Write a value to a tag
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§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 Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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