pub enum Availability {
ActiveNow,
AvailableAfterNewShell,
AvailableAfterSource,
ManualActionRequired,
Unknown,
}Expand description
Availability state for an installed completion.
This represents the best state shellcomp can determine from the current environment and
managed files.
Variants§
ActiveNow
The completion should be usable immediately.
AvailableAfterNewShell
The completion should be available after opening a new shell.
AvailableAfterSource
The completion should be available after sourcing the affected startup file.
ManualActionRequired
Manual action is still required before the completion can work.
Unknown
The library could not determine current availability.
Trait Implementations§
Source§impl Clone for Availability
impl Clone for Availability
Source§fn clone(&self) -> Availability
fn clone(&self) -> Availability
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 Availability
impl Debug for Availability
Source§impl PartialEq for Availability
impl PartialEq for Availability
impl Copy for Availability
impl Eq for Availability
impl StructuralPartialEq for Availability
Auto Trait Implementations§
impl Freeze for Availability
impl RefUnwindSafe for Availability
impl Send for Availability
impl Sync for Availability
impl Unpin for Availability
impl UnsafeUnpin for Availability
impl UnwindSafe for Availability
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