pub enum UpdateStrategy {
SemverTags,
NixpkgsChannel,
HomeManagerChannel,
NixDarwinChannel,
}Expand description
Update strategy for a given input.
Variants§
SemverTags
Standard semver tag-based updates (most repos)
NixpkgsChannel
nixpkgs channel-based updates (nixos-YY.MM, nixpkgs-YY.MM)
HomeManagerChannel
home-manager channel-based updates (release-YY.MM)
NixDarwinChannel
nix-darwin channel-based updates (nix-darwin-YY.MM)
Trait Implementations§
Source§impl Clone for UpdateStrategy
impl Clone for UpdateStrategy
Source§fn clone(&self) -> UpdateStrategy
fn clone(&self) -> UpdateStrategy
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 UpdateStrategy
impl Debug for UpdateStrategy
Source§impl PartialEq for UpdateStrategy
impl PartialEq for UpdateStrategy
impl StructuralPartialEq for UpdateStrategy
Auto Trait Implementations§
impl Freeze for UpdateStrategy
impl RefUnwindSafe for UpdateStrategy
impl Send for UpdateStrategy
impl Sync for UpdateStrategy
impl Unpin for UpdateStrategy
impl UnwindSafe for UpdateStrategy
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
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>
Converts
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>
Converts
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