pub enum ActivationMode {
SystemLoader,
ManagedRcBlock,
NativeDirectory,
Manual,
}Expand description
How a completion becomes active for a shell.
This describes the wiring mechanism rather than the current state. Pair it with
Availability to understand whether the completion is already usable.
Variants§
SystemLoader
Activation relies on a system-level shell completion loader.
ManagedRcBlock
Activation is managed through a controlled shell startup block.
NativeDirectory
Activation relies on the shell’s native completion directory.
Manual
Activation must be wired manually by the caller or user.
Trait Implementations§
Source§impl Clone for ActivationMode
impl Clone for ActivationMode
Source§fn clone(&self) -> ActivationMode
fn clone(&self) -> ActivationMode
Returns a duplicate 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 ActivationMode
impl Debug for ActivationMode
Source§impl PartialEq for ActivationMode
impl PartialEq for ActivationMode
impl Copy for ActivationMode
impl Eq for ActivationMode
impl StructuralPartialEq for ActivationMode
Auto Trait Implementations§
impl Freeze for ActivationMode
impl RefUnwindSafe for ActivationMode
impl Send for ActivationMode
impl Sync for ActivationMode
impl Unpin for ActivationMode
impl UnsafeUnpin for ActivationMode
impl UnwindSafe for ActivationMode
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