Struct ferrite_session::internal::protocol::public::SharedToLinear
source · [−]pub struct SharedToLinear<F>(_);
Trait Implementations
sourceimpl<F> Protocol for SharedToLinear<LinearToShared<F>> where
F: Send + 'static,
F: SharedRecApp<SharedToLinear<LinearToShared<F>>>,
impl<F> Protocol for SharedToLinear<LinearToShared<F>> where
F: Send + 'static,
F: SharedRecApp<SharedToLinear<LinearToShared<F>>>,
type ClientEndpoint = SenderOnce<()>
type ProviderEndpoint = ReceiverOnce<()>
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<F> SealedProtocol for SharedToLinear<LinearToShared<F>>
Auto Trait Implementations
impl<F> RefUnwindSafe for SharedToLinear<F> where
F: RefUnwindSafe,
impl<F> Send for SharedToLinear<F> where
F: Send,
impl<F> Sync for SharedToLinear<F> where
F: Sync,
impl<F> Unpin for SharedToLinear<F> where
F: Unpin,
impl<F> UnwindSafe for SharedToLinear<F> where
F: 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