pub struct BoundSources { /* private fields */ }Expand description
Already-open member objects staged without pathname re-resolution.
A bound source proves which bytes to stage by object identity: the moved
open File is the same object whose bytes were acquired and verified,
so no directory-entry replacement after the handoff boundary can redirect
staged bytes. Handles are single-owner and move-only. File cursors are
shared across clones, so this type is deliberately not Clone: move the
handle into InstallPlan::prepare_with_bound_sources, which rewinds it
to byte zero before staging. Do not try_clone a bound
handle and assume an independent offset.
The recorded ArtifactMember::source path of a bound member is advisory
diagnostics only once a handle is supplied for its identity.
Implementations§
Source§impl BoundSources
impl BoundSources
Trait Implementations§
Source§impl Debug for BoundSources
impl Debug for BoundSources
Auto Trait Implementations§
impl Freeze for BoundSources
impl RefUnwindSafe for BoundSources
impl Send for BoundSources
impl Sync for BoundSources
impl Unpin for BoundSources
impl UnsafeUnpin for BoundSources
impl UnwindSafe for BoundSources
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