pub struct BootstrappedCapsule {
pub envelope: BootstrapEnvelope,
pub capsule: Box<dyn Lib>,
}Expand description
Successful admission: one owned envelope and one already-instantiated lib.
Fields§
§envelope: BootstrapEnvelopePure input handed onward to the bootloader.
capsule: Box<dyn Lib>Capsule loaded through the existing native ABI loader.
Auto Trait Implementations§
impl !RefUnwindSafe for BootstrappedCapsule
impl !Send for BootstrappedCapsule
impl !Sync for BootstrappedCapsule
impl !UnwindSafe for BootstrappedCapsule
impl Forget for BootstrappedCapsule
impl Freeze for BootstrappedCapsulewhere
*const u8 is !null: Freeze,
PhantomData<OsString>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<PathBuf>: Freeze,
*const dyn Lib is !null: Freeze,
PhantomData<dyn Lib>: Freeze,
impl Move for BootstrappedCapsule
impl Unpin for BootstrappedCapsule
impl UnsafeUnpin for BootstrappedCapsulewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OsString>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
*const dyn Lib is !null: UnsafeUnpin,
PhantomData<dyn Lib>: UnsafeUnpin,
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