pub struct ConnectionWaker2 { /* private fields */ }Implementations§
Source§impl ConnectionWaker2
impl ConnectionWaker2
pub fn poll0<T>( self: &Arc<Self>, cx: &mut Context<'_>, f: impl FnOnce(&mut Context<'_>) -> T, ) -> T
pub fn poll1<T>( self: &Arc<Self>, cx: &mut Context<'_>, f: impl FnOnce(&mut Context<'_>) -> T, ) -> T
pub fn poll_detached<T>( self: &Arc<Self>, f: impl FnOnce(&mut Context<'_>) -> T, ) -> T
Trait Implementations§
Source§impl Debug for ConnectionWaker2
impl Debug for ConnectionWaker2
Auto Trait Implementations§
impl !Freeze for ConnectionWaker2
impl !RefUnwindSafe for ConnectionWaker2
impl Send for ConnectionWaker2
impl Sync for ConnectionWaker2
impl Unpin for ConnectionWaker2
impl !UnwindSafe for ConnectionWaker2
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