Struct cut::offer_choice::InjectSession
source · [−]pub struct InjectSession<'r, Row, C, A> where
C: Context, {
ctx: <C as Context>::Endpoints,
provider_end: App<'r, ProviderEndpointF, A>,
phantom: PhantomData<(Box<dyn Invariant<'r> + 'static, Global>, Row)>,
}
Fields
ctx: <C as Context>::Endpoints
provider_end: App<'r, ProviderEndpointF, A>
phantom: PhantomData<(Box<dyn Invariant<'r> + 'static, Global>, Row)>
Trait Implementations
sourceimpl<'r, Row, C, A> RunCont<C, A> for InjectSession<'r, Row, C, A> where
Row: 'r + Send,
C: Context,
A: Protocol,
impl<'r, Row, C, A> RunCont<C, A> for InjectSession<'r, Row, C, A> where
Row: 'r + Send,
C: Context,
A: Protocol,
type Ret = ContSum<'r, Row, C>
fn run_cont(
self,
session: PartialSession<C, A>
) -> <InjectSession<'r, Row, C, A> as RunCont<C, A>>::Ret
Auto Trait Implementations
impl<'r, Row, C, A> !RefUnwindSafe for InjectSession<'r, Row, C, A>
impl<'r, Row, C, A> Send for InjectSession<'r, Row, C, A> where
Row: Send,
impl<'r, Row, C, A> !Sync for InjectSession<'r, Row, C, A>
impl<'r, Row, C, A> Unpin for InjectSession<'r, Row, C, A> where
Row: Unpin,
<C as Context>::Endpoints: Unpin,
impl<'r, Row, C, A> !UnwindSafe for InjectSession<'r, Row, C, A>
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