pub struct PullResult {
pub primary_path: PathBuf,
pub deps: HashMap<String, PathBuf>,
pub verified: Vec<String>,
}Expand description
Outcome of pull_transitive. The primary frontier and every
recursively-resolved cross-frontier dependency end up as files on
disk; verified lists the vfr_ids whose snapshot pin matched.
Fields§
§primary_path: PathBufPath to the primary frontier file.
deps: HashMap<String, PathBuf>vfr_id → on-disk path for every dependency successfully pulled.
verified: Vec<String>Order in which vfr_ids were verified (primary first, then deps
in walk order). Useful for stable output / logging.
Trait Implementations§
Source§impl Clone for PullResult
impl Clone for PullResult
Source§fn clone(&self) -> PullResult
fn clone(&self) -> PullResult
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§
impl Freeze for PullResult
impl RefUnwindSafe for PullResult
impl Send for PullResult
impl Sync for PullResult
impl Unpin for PullResult
impl UnsafeUnpin for PullResult
impl UnwindSafe for PullResult
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