pub enum InstallAliasOutcome {
Created,
Appended,
AlreadyInstalled,
Updated,
}Expand description
Outcome of dodot git-install-alias. Mirrors InstallHookOutcome.
Variants§
Created
rc file did not exist; we created it with our block.
Appended
rc file existed; we appended our block to it. Existing content preserved.
AlreadyInstalled
rc file already contains the current managed block — no change.
Updated
rc file had an older managed block; we replaced it in place. Existing non-managed content preserved.
Trait Implementations§
Source§impl Clone for InstallAliasOutcome
impl Clone for InstallAliasOutcome
Source§fn clone(&self) -> InstallAliasOutcome
fn clone(&self) -> InstallAliasOutcome
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 InstallAliasOutcome
impl Debug for InstallAliasOutcome
Auto Trait Implementations§
impl Freeze for InstallAliasOutcome
impl RefUnwindSafe for InstallAliasOutcome
impl Send for InstallAliasOutcome
impl Sync for InstallAliasOutcome
impl Unpin for InstallAliasOutcome
impl UnsafeUnpin for InstallAliasOutcome
impl UnwindSafe for InstallAliasOutcome
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