pub struct ExternalChoice<Row>(/* private fields */);Trait Implementations§
Source§impl<Row> Protocol for ExternalChoice<Row>
impl<Row> Protocol for ExternalChoice<Row>
type ClientEndpoint = SenderOnce<AppSum<'static, <Row as ToRow>::Row, ProviderEndpointF>>
type ProviderEndpoint = ReceiverOnce<AppSum<'static, <Row as ToRow>::Row, ProviderEndpointF>>
fn create_endpoints() -> (Self::ProviderEndpoint, Self::ClientEndpoint)
fn forward( client_end: Self::ClientEndpoint, provider_end: Self::ProviderEndpoint, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>
Source§impl<R, Row1, Row2, Row3> RecApp<R> for ExternalChoice<Row1>
impl<R, Row1, Row2, Row3> RecApp<R> for ExternalChoice<Row1>
type Applied = ExternalChoice<RecRow<R, Row1>>
impl<Row> SealedProtocol for ExternalChoice<Row>
type Applied = ExternalChoice<SharedRecRow<R, Row1>>
Auto Trait Implementations§
impl<Row> Freeze for ExternalChoice<Row>where
PhantomData<Row>: Freeze,
impl<Row> RefUnwindSafe for ExternalChoice<Row>where
PhantomData<Row>: RefUnwindSafe,
impl<Row> Send for ExternalChoice<Row>where
PhantomData<Row>: Send,
impl<Row> Sync for ExternalChoice<Row>where
PhantomData<Row>: Sync,
impl<Row> Unpin for ExternalChoice<Row>where
PhantomData<Row>: Unpin,
impl<Row> UnsafeUnpin for ExternalChoice<Row>where
PhantomData<Row>: UnsafeUnpin,
impl<Row> UnwindSafe for ExternalChoice<Row>where
PhantomData<Row>: UnwindSafe,
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