pub struct ManagedRuntime { /* private fields */ }Implementations§
Source§impl ManagedRuntime
impl ManagedRuntime
pub fn new(config: ManagedRuntimeConfig) -> Self
pub fn with_hardware(self, hardware: HardwareProfile) -> Self
Sourcepub fn prepare(&mut self) -> Result<PreparedRuntime, ManagedRuntimeError>
pub fn prepare(&mut self) -> Result<PreparedRuntime, ManagedRuntimeError>
Acquire, verify, and start the pinned local stack. Keeping this value alive owns the server; dropping it terminates the child process. The managed distribution is explicitly recorded as distinct from the frozen full-stack NeoHorse qualification.
pub fn shutdown(&mut self) -> Result<(), ManagedRuntimeError>
pub fn diagnostics(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ManagedRuntime
impl !UnwindSafe for ManagedRuntime
impl Freeze for ManagedRuntime
impl Send for ManagedRuntime
impl Sync for ManagedRuntime
impl Unpin for ManagedRuntime
impl UnsafeUnpin for ManagedRuntime
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