pub struct BinarySource { /* private fields */ }Expand description
One opened executable source pinned to the exact file descriptor the writer will hash and copy.
Opening is no-follow on supported platforms. Keeping the descriptor owned closes the check/open race that a path-only writer would otherwise have.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BinarySource
impl RefUnwindSafe for BinarySource
impl Send for BinarySource
impl Sync for BinarySource
impl Unpin for BinarySource
impl UnsafeUnpin for BinarySource
impl UnwindSafe for BinarySource
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