Struct ferrite_session::prelude::RecX
source · [−]Fields
unfix: Box<dyn HasRecApp<F, (RecX<C, F>, C)>>
Trait Implementations
sourceimpl<C, F> Protocol for RecX<C, F> where
C: Send + 'static,
F: Protocol,
F: RecApp<(RecX<C, F>, C)>,
impl<C, F> Protocol for RecX<C, F> where
C: Send + 'static,
F: Protocol,
F: RecApp<(RecX<C, F>, C)>,
type ClientEndpoint = ReceiverOnce<RecEndpoint<F, (RecX<C, F>, C)>>
type ProviderEndpoint = SenderOnce<RecEndpoint<F, (RecX<C, F>, C)>>
fn create_endpoints() -> (Self::ProviderEndpoint, Self::ClientEndpoint)
fn forward(
client_end: Self::ClientEndpoint,
provider_end: Self::ProviderEndpoint
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>
impl<C, F> SealedProtocol for RecX<C, F>
Auto Trait Implementations
impl<C, F> !RefUnwindSafe for RecX<C, F>
impl<C, F> Send for RecX<C, F>
impl<C, F> !Sync for RecX<C, F>
impl<C, F> Unpin for RecX<C, F>
impl<C, F> !UnwindSafe for RecX<C, F>
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