pub struct ResolutionOptions {
pub offline: bool,
pub frozen: bool,
}Expand description
Network-mode constraints applied to pure resolution.
Fields§
§offline: boolRequires all candidates to be supplied by the caller without fetching.
frozen: boolRejects fresh resolution because frozen mode requires lockfile replay.
Trait Implementations§
Source§impl Clone for ResolutionOptions
impl Clone for ResolutionOptions
impl Copy for ResolutionOptions
Source§impl Debug for ResolutionOptions
impl Debug for ResolutionOptions
Source§impl Default for ResolutionOptions
impl Default for ResolutionOptions
impl Eq for ResolutionOptions
Source§impl PartialEq for ResolutionOptions
impl PartialEq for ResolutionOptions
impl StructuralPartialEq for ResolutionOptions
Auto Trait Implementations§
impl Forget for ResolutionOptions
impl Freeze for ResolutionOptions
impl Move for ResolutionOptions
impl RefUnwindSafe for ResolutionOptions
impl Send for ResolutionOptions
impl Sync for ResolutionOptions
impl Unpin for ResolutionOptions
impl UnsafeUnpin for ResolutionOptions
impl UnwindSafe for ResolutionOptions
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