pub enum CompleteAction {
Show 24 variants
Alias,
ArrayVar,
Binding,
Builtin,
Command,
Directory,
Disabled,
Enabled,
Export,
File,
Function,
Group,
HelpTopic,
HostName,
Job,
Keyword,
Running,
Service,
SetOpt,
ShOpt,
Signal,
Stopped,
User,
Variable,
}Expand description
Type of action to take to generate completion candidates.
Variants§
Alias
Complete with valid aliases.
ArrayVar
Complete with names of array shell variables.
Binding
Complete with names of key bindings.
Builtin
Complete with names of shell builtins.
Command
Complete with names of executable commands.
Directory
Complete with directory names.
Disabled
Complete with names of disabled shell builtins.
Enabled
Complete with names of enabled shell builtins.
Export
Complete with names of exported shell variables.
File
Complete with filenames.
Function
Complete with names of shell functions.
Group
Complete with valid user groups.
HelpTopic
Complete with names of valid shell help topics.
HostName
Complete with the system’s hostname(s).
Job
Complete with the command names of shell-managed jobs.
Keyword
Complete with valid shell keywords.
Running
Complete with the command names of running shell-managed jobs.
Service
Complete with names of system services.
SetOpt
Complete with the names of options settable via shopt.
ShOpt
Complete with the names of options settable via set -o.
Signal
Complete with the names of trappable signals.
Stopped
Complete with the command names of stopped shell-managed jobs.
User
Complete with valid usernames.
Variable
Complete with names of shell variables.
Trait Implementations§
Source§impl Clone for CompleteAction
impl Clone for CompleteAction
Source§fn clone(&self) -> CompleteAction
fn clone(&self) -> CompleteAction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CompleteAction
impl Debug for CompleteAction
Source§impl ValueEnum for CompleteAction
impl ValueEnum for CompleteAction
Auto Trait Implementations§
impl Freeze for CompleteAction
impl RefUnwindSafe for CompleteAction
impl Send for CompleteAction
impl Sync for CompleteAction
impl Unpin for CompleteAction
impl UnwindSafe for CompleteAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more