Struct cut::ExternalChoice
source · [−]pub struct ExternalChoice<Row>(PhantomData<Row>);
Tuple Fields
0: PhantomData<Row>
Trait Implementations
sourceimpl<Row> Protocol for ExternalChoice<Row> where
Row: 'static + ToRow + Send,
impl<Row> Protocol for ExternalChoice<Row> where
Row: 'static + ToRow + Send,
type ClientEndpoint = SenderOnce<AppSum<'static, <Row as ToRow>::Row, ProviderEndpointF>>
type ProviderEndpoint = ReceiverOnce<AppSum<'static, <Row as ToRow>::Row, ProviderEndpointF>>
fn create_endpoints(
) -> (<ExternalChoice<Row> as Protocol>::ProviderEndpoint, <ExternalChoice<Row> as Protocol>::ClientEndpoint)
fn forward(
client_end: <ExternalChoice<Row> as Protocol>::ClientEndpoint,
provider_end: <ExternalChoice<Row> as Protocol>::ProviderEndpoint
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static, Global>>
sourceimpl<R, Row1, Row2, Row3> RecApp<R> for ExternalChoice<Row1> where
R: 'static + Send,
Row2: RowCon + RecApp<R, Applied = Row3>,
Row1: 'static + Send + ToRow<Row = Row2>,
Row3: RowCon,
impl<R, Row1, Row2, Row3> RecApp<R> for ExternalChoice<Row1> where
R: 'static + Send,
Row2: RowCon + RecApp<R, Applied = Row3>,
Row1: 'static + Send + ToRow<Row = Row2>,
Row3: RowCon,
type Applied = ExternalChoice<RecRow<R, Row1>>
type Applied = ExternalChoice<SharedRecRow<R, Row1>>
impl<Row> SealedProtocol for ExternalChoice<Row>
Auto Trait Implementations
impl<Row> RefUnwindSafe for ExternalChoice<Row> where
Row: RefUnwindSafe,
impl<Row> Send for ExternalChoice<Row> where
Row: Send,
impl<Row> Sync for ExternalChoice<Row> where
Row: Sync,
impl<Row> Unpin for ExternalChoice<Row> where
Row: Unpin,
impl<Row> UnwindSafe for ExternalChoice<Row> where
Row: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more