Struct tokio_current_thread::Turn
source · [−]pub struct Turn { /* private fields */ }
Expand description
Returned by the turn
function.
Implementations
sourceimpl Turn
impl Turn
sourcepub fn has_polled(&self) -> bool
pub fn has_polled(&self) -> bool
true
if any futures were polled at all and false
otherwise.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Turn
impl Send for Turn
impl Sync for Turn
impl Unpin for Turn
impl UnwindSafe for Turn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more