pub enum TunnelSubcommand {
Prune,
Kill,
Restart,
Status,
Rename(TunnelRenameArgs),
Unregister,
User(TunnelUserSubCommands),
Service(TunnelServiceSubCommands),
ForwardInternal(TunnelForwardArgs),
}
Variants§
Prune
Delete all servers which are currently not running.
Kill
Stops any running tunnel on the system.
Restart
Restarts any running tunnel on the system.
Status
Gets whether there is a tunnel running on the current machine.
Rename(TunnelRenameArgs)
Rename the name of this machine associated with port forwarding service.
Unregister
Remove this machine’s association with the port forwarding service.
User(TunnelUserSubCommands)
Service(TunnelServiceSubCommands)
(Preview) Manages the tunnel when installed as a system service,
ForwardInternal(TunnelForwardArgs)
(Preview) Forwards local port using the dev tunnel
Trait Implementations§
Source§impl Clone for TunnelSubcommand
impl Clone for TunnelSubcommand
Source§fn clone(&self) -> TunnelSubcommand
fn clone(&self) -> TunnelSubcommand
Returns a copy 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 TunnelSubcommand
impl Debug for TunnelSubcommand
Source§impl FromArgMatches for TunnelSubcommand
impl FromArgMatches for TunnelSubcommand
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 TunnelSubcommand
impl Subcommand for TunnelSubcommand
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 TunnelSubcommand
impl RefUnwindSafe for TunnelSubcommand
impl Send for TunnelSubcommand
impl Sync for TunnelSubcommand
impl Unpin for TunnelSubcommand
impl UnwindSafe for TunnelSubcommand
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