pub struct SendChannel<A, B>(/* private fields */);Trait Implementations§
Source§impl<A, B> Protocol for SendChannel<A, B>
impl<A, B> Protocol for SendChannel<A, B>
type ClientEndpoint = (ReceiverOnce<<A as Protocol>::ClientEndpoint>, <B as Protocol>::ClientEndpoint)
type ProviderEndpoint = (SenderOnce<<A as Protocol>::ClientEndpoint>, <B as Protocol>::ProviderEndpoint)
fn create_endpoints() -> (Self::ProviderEndpoint, Self::ClientEndpoint)
fn forward( client_end: Self::ClientEndpoint, provider_end: Self::ProviderEndpoint, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>
Source§impl<A, P, Q> RecApp<A> for SendChannel<P, Q>
impl<A, P, Q> RecApp<A> for SendChannel<P, Q>
impl<A, B> SealedProtocol for SendChannel<A, B>
type Applied = SendChannel<P, <Q as SharedRecApp<R>>::Applied>
Auto Trait Implementations§
impl<A, B> Freeze for SendChannel<A, B>
impl<A, B> RefUnwindSafe for SendChannel<A, B>
impl<A, B> Send for SendChannel<A, B>
impl<A, B> Sync for SendChannel<A, B>
impl<A, B> Unpin for SendChannel<A, B>
impl<A, B> UnsafeUnpin for SendChannel<A, B>
impl<A, B> UnwindSafe for SendChannel<A, B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more