pub enum SharedTargetRedirectDecision {
Apply,
SkipNonRustWorkspace,
NotApplicable,
}Expand description
Pure decision for whether --shared-target should write a cargo
target-dir redirect after checkout materialize.
Variants§
Apply
Apply .cargo/config.toml redirect after materialize.
SkipNonRustWorkspace
Flag set but workspace has no top-level Cargo.toml — no-op (debug).
NotApplicable
Flag not set, or mode is not bytes-on-disk.
Trait Implementations§
Source§fn clone(&self) -> SharedTargetRedirectDecision
fn clone(&self) -> SharedTargetRedirectDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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