fn with_current<F, R>(&self, f: F) -> R
    where
        F: FnOnce(&Parker) -> R,
    {
        CURRENT_PARKER.with(|inner| f(inner))
    }
/// Get a reference to the `ParkThread` handle for this thread.
Get a reference to the `ParkThread` handle for this thread.
Get a reference to the ` ParkThread ` handle for this thread .
fn with_current<F, R>(&self, f: F) -> R
    where
        F: FnOnce(&Parker) -> R,
    {
        CURRENT_PARKER.with(|inner| f(inner))
    }
fn with_current < F , R > ( & self , f : F ) -> R where F : FnOnce ( & Parker ) -> R , { CURRENT_PARKER . with ( | inner | f ( inner ) ) }
Get a reference to the `ParkThread` handle for this thread.
Get a reference to the ` ParkThread ` handle for this thread .
&self
f
F