Function rasi_syscall::ready
source · pub fn ready<T, F>(f: F) -> CancelablePoll<T>where
F: FnOnce() -> T,
Expand description
Create a ready status of CancelablePoll
from F: FnOnce() -> T
.
pub fn ready<T, F>(f: F) -> CancelablePoll<T>where
F: FnOnce() -> T,
Create a ready status of CancelablePoll
from F: FnOnce() -> T
.