Struct Current
Source pub struct Current {
_p: (),
}
Expand description
The opaque structure indicating the running thread on the current cpu.
Run a function f with ParkHandle for current thread, and then park
the current thread.
Exit the current thread with exit_code.
Get the current thread’s id.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
[From]<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.