Struct ferrite_session::internal::protocol::public::InternalChoice
source · [−]pub struct InternalChoice<Row>(_);
Trait Implementations
sourceimpl<Row> Protocol for InternalChoice<Row> where
Row: ToRow + Send + 'static,
impl<Row> Protocol for InternalChoice<Row> where
Row: ToRow + Send + 'static,
type ClientEndpoint = ReceiverOnce<AppSum<'static, Row::Row, ClientEndpointF>>
type ProviderEndpoint = SenderOnce<AppSum<'static, Row::Row, ClientEndpointF>>
fn create_endpoints() -> (Self::ProviderEndpoint, Self::ClientEndpoint)
fn forward(
client_end: Self::ClientEndpoint,
provider_end: Self::ProviderEndpoint
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>
sourceimpl<Row1, Row2, Row3, A> RecApp<A> for InternalChoice<Row1> where
A: Send + 'static,
Row1: Send + 'static,
Row1: ToRow<Row = Row2>,
Row2: RowCon,
Row2: RecApp<A, Applied = Row3>,
Row3: RowCon,
impl<Row1, Row2, Row3, A> RecApp<A> for InternalChoice<Row1> where
A: Send + 'static,
Row1: Send + 'static,
Row1: ToRow<Row = Row2>,
Row2: RowCon,
Row2: 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