pub struct CaptureConnection<R: Role>(pub Sender<ConnectionTo<R>>);Tuple Fields§
§0: Sender<ConnectionTo<R>>Trait Implementations§
Source§impl<R: Role> RunWithConnectionTo<R> for CaptureConnection<R>
impl<R: Role> RunWithConnectionTo<R> for CaptureConnection<R>
Source§async fn run_with_connection_to(self, cx: ConnectionTo<R>) -> Result<(), Error>
async fn run_with_connection_to(self, cx: ConnectionTo<R>) -> Result<(), Error>
Run this task to completion.
Auto Trait Implementations§
impl<R> !RefUnwindSafe for CaptureConnection<R>
impl<R> !UnwindSafe for CaptureConnection<R>
impl<R> Freeze for CaptureConnection<R>
impl<R> Send for CaptureConnection<R>
impl<R> Sync for CaptureConnection<R>
impl<R> Unpin for CaptureConnection<R>
impl<R> UnsafeUnpin for CaptureConnection<R>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.