pub struct PreparedApplication { /* private fields */ }Expand description
Application behavior prepared for an explicit deployment boundary.
This value owns only in-memory registries and callbacks. It does not own a listener, provider, worker or process lifecycle. Deployments may inspect the registrations and then connect the independently owned capability crates.
Implementations§
Source§impl PreparedApplication
impl PreparedApplication
Sourcepub fn runtime(&self) -> &RuntimeInstance
pub fn runtime(&self) -> &RuntimeInstance
Returns the immutable Core runtime and its registered behavior.
Sourcepub fn into_parts(self) -> RuntimeInstance
pub fn into_parts(self) -> RuntimeInstance
Transfers every prepared registry to a composition root.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PreparedApplication
impl !RefUnwindSafe for PreparedApplication
impl !UnwindSafe for PreparedApplication
impl Forget for PreparedApplication
impl Send for PreparedApplication
impl Sync for PreparedApplication
impl Unpin for PreparedApplication
impl UnsafeUnpin for PreparedApplication
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