pub struct WorkerHolder {
pub booted: BootedWorker,
pub active_program_path: Option<String>,
pub canon: AddressCanonicalizer,
}Expand description
A booted, attached worker plus the derived per-program address canonicalizer.
Fields§
§booted: BootedWorker§active_program_path: Option<String>The last program that a request SUCCESSFULLY attached (spec §4.3 state-commit ordering). On
boot this is the bootstrap program (learned from worker_info).
canon: AddressCanonicalizerCanonicalizer for the active program’s address geometry (rebuilt on each successful attach).
Auto Trait Implementations§
impl !Freeze for WorkerHolder
impl !RefUnwindSafe for WorkerHolder
impl !UnwindSafe for WorkerHolder
impl Send for WorkerHolder
impl Sync for WorkerHolder
impl Unpin for WorkerHolder
impl UnsafeUnpin for WorkerHolder
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