Struct processmanager::RuntimeGuard
source · pub struct RuntimeGuard { /* private fields */ }
Implementations§
source§impl RuntimeGuard
impl RuntimeGuard
pub fn new() -> Self
pub fn handle(&self) -> RuntimeHandle
pub async fn tick<O, Fut>(&self, fut: Fut) -> ProcessOperation<O>where
Fut: Future<Output = O>,
pub async fn block_until_shutdown(&self) -> RuntimeControlMessage
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RuntimeGuard
impl !RefUnwindSafe for RuntimeGuard
impl Send for RuntimeGuard
impl Sync for RuntimeGuard
impl Unpin for RuntimeGuard
impl UnwindSafe for RuntimeGuard
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