Struct cut::InternalChoice
source · [−]pub struct InternalChoice<Row>(PhantomData<Row>);
Tuple Fields
0: PhantomData<Row>
Trait Implementations
sourceimpl<Row> Protocol for InternalChoice<Row> where
Row: 'static + ToRow + Send,
impl<Row> Protocol for InternalChoice<Row> where
Row: 'static + ToRow + Send,
type ClientEndpoint = ReceiverOnce<AppSum<'static, <Row as ToRow>::Row, ClientEndpointF>>
type ProviderEndpoint = SenderOnce<AppSum<'static, <Row as ToRow>::Row, ClientEndpointF>>
fn create_endpoints(
) -> (<InternalChoice<Row> as Protocol>::ProviderEndpoint, <InternalChoice<Row> as Protocol>::ClientEndpoint)
fn forward(
client_end: <InternalChoice<Row> as Protocol>::ClientEndpoint,
provider_end: <InternalChoice<Row> as Protocol>::ProviderEndpoint
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static, Global>>
sourceimpl<Row1, Row2, Row3, A> RecApp<A> for InternalChoice<Row1> where
A: 'static + Send,
Row1: 'static + Send + ToRow<Row = Row2>,
Row2: RowCon + RecApp<A, Applied = Row3>,
Row3: RowCon,
impl<Row1, Row2, Row3, A> RecApp<A> for InternalChoice<Row1> where
A: 'static + Send,
Row1: 'static + Send + ToRow<Row = Row2>,
Row2: RowCon + RecApp<A, Applied = Row3>,
Row3: RowCon,
type Applied = InternalChoice<RecRow<A, Row1>>
type Applied = InternalChoice<SharedRecRow<A, Row1>>
impl<Row1> SealedProtocol for InternalChoice<Row1>
Auto Trait Implementations
impl<Row> RefUnwindSafe for InternalChoice<Row> where
Row: RefUnwindSafe,
impl<Row> Send for InternalChoice<Row> where
Row: Send,
impl<Row> Sync for InternalChoice<Row> where
Row: Sync,
impl<Row> Unpin for InternalChoice<Row> where
Row: Unpin,
impl<Row> UnwindSafe for InternalChoice<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