Struct erin::ProcessHandle
source · pub struct ProcessHandle { /* private fields */ }
Expand description
A handle to a process running in an erin Runtime.
Implementations§
source§impl ProcessHandle
impl ProcessHandle
sourcepub fn clone_waker(&self) -> Waker
pub fn clone_waker(&self) -> Waker
Create a new waker that can be used to wake up the process.
Note that you can use the [wake] method directly. This method allows you to create a more light-weight waker to pass around.
Use [into_waker] if you only want the waker and don’t need the rest.
sourcepub fn into_waker(self) -> Waker
pub fn into_waker(self) -> Waker
If you only need the waker part of the handle, you can use this method to drop the other parts.
Trait Implementations§
source§impl Clone for ProcessHandle
impl Clone for ProcessHandle
source§fn clone(&self) -> ProcessHandle
fn clone(&self) -> ProcessHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ProcessHandle
impl Send for ProcessHandle
impl Sync for ProcessHandle
impl Unpin for ProcessHandle
impl UnwindSafe for ProcessHandle
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