Struct ferrite_session::prelude::SharedChannel [−][src]
pub struct SharedChannel<S> where
S: SharedProtocol, { /* fields omitted */ }
Implementations
impl<F> SharedChannel<LinearToShared<F>> where
F: Protocol,
F: SharedRecApp<SharedToLinear<F>>,
F::Applied: Protocol,
impl<F> SharedChannel<LinearToShared<F>> where
F: Protocol,
F: SharedRecApp<SharedToLinear<F>>,
F::Applied: Protocol,
pub fn acquire<C, A>(
&self,
cont: impl FnOnce(C::Length) -> PartialSession<C::Appended, A> + Send + 'static
) -> PartialSession<C, A> where
C: Context,
A: Protocol,
C: AppendContext<(F::Applied, ())>,
Trait Implementations
Auto Trait Implementations
impl<S> !RefUnwindSafe for SharedChannel<S>
impl<S> Send for SharedChannel<S>
impl<S> Sync for SharedChannel<S>
impl<S> Unpin for SharedChannel<S>
impl<S> !UnwindSafe for SharedChannel<S>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V