pub struct PlatformLifecycle { /* private fields */ }Expand description
Opaque exit-wait capability owned by a process actor.
Implementations§
Source§impl PlatformLifecycle
impl PlatformLifecycle
Sourcepub async fn wait(&mut self) -> Result<ExitStatus>
pub async fn wait(&mut self) -> Result<ExitStatus>
Wait asynchronously for the child to exit.
Auto Trait Implementations§
impl !RefUnwindSafe for PlatformLifecycle
impl !UnwindSafe for PlatformLifecycle
impl Freeze for PlatformLifecycle
impl Send for PlatformLifecycle
impl Sync for PlatformLifecycle
impl Unpin for PlatformLifecycle
impl UnsafeUnpin for PlatformLifecycle
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more