pub struct LoadTransaction { /* private fields */ }Expand description
An in-progress library load against a private copy of the Registry.
A transaction stages all of a library’s registrations on a cloned registry
and an internal pending-exports buffer; nothing reaches the live registry
until Registry::commit_load succeeds, so a
failed load leaves the registry untouched.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LoadTransaction
impl !UnwindSafe for LoadTransaction
impl Freeze for LoadTransaction
impl Send for LoadTransaction
impl Sync for LoadTransaction
impl Unpin for LoadTransaction
impl UnsafeUnpin for LoadTransaction
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