pub struct Runtime { /* private fields */ }Expand description
The Runtime is for debugging / diagnostics purposes and tracks which substantial system objects
components are in existence. It can be used to detect if something has shutdown or not.
Implementations§
Source§impl Runtime
impl Runtime
pub fn components(&self) -> Vec<String>
pub fn register_component(&self, key: &str)
pub fn deregister_component(&self, key: &str)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runtime
impl !RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl !UnwindSafe for Runtime
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