pub struct NullRun;Expand description
A no-op RunIn that completes immediately.
Trait Implementations§
Source§impl<Counterpart: Role> RunWithConnectionTo<Counterpart> for NullRun
impl<Counterpart: Role> RunWithConnectionTo<Counterpart> for NullRun
Source§async fn run_with_connection_to(
self,
_cx: ConnectionTo<Counterpart>,
) -> Result<(), Error>
async fn run_with_connection_to( self, _cx: ConnectionTo<Counterpart>, ) -> Result<(), Error>
Run this task to completion.
Auto Trait Implementations§
impl Freeze for NullRun
impl RefUnwindSafe for NullRun
impl Send for NullRun
impl Sync for NullRun
impl Unpin for NullRun
impl UnsafeUnpin for NullRun
impl UnwindSafe for NullRun
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