pub enum ResolutionMode {
Normal,
Maximize {
targets: HashSet<SourceName>,
},
}Expand description
Resolution behavior for the resolver stage.
Variants§
Normal
Normal sync behavior.
Maximize
Upgrade behavior (maximize versions), optionally scoped to specific sources.
Fields
§
targets: HashSet<SourceName>Trait Implementations§
Source§impl Clone for ResolutionMode
impl Clone for ResolutionMode
Source§fn clone(&self) -> ResolutionMode
fn clone(&self) -> ResolutionMode
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 moreAuto Trait Implementations§
impl Freeze for ResolutionMode
impl RefUnwindSafe for ResolutionMode
impl Send for ResolutionMode
impl Sync for ResolutionMode
impl Unpin for ResolutionMode
impl UnsafeUnpin for ResolutionMode
impl UnwindSafe for ResolutionMode
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