pub struct SendValue<T, A>(PhantomData<(T, A)>);
Tuple Fields
0: PhantomData<(T, A)>
Trait Implementations
sourceimpl<T, A> Protocol for SendValue<T, A> where
T: 'static + Send,
A: Protocol,
impl<T, A> Protocol for SendValue<T, A> where
T: 'static + Send,
A: Protocol,
type ClientEndpoint = ReceiverOnce<(Value<T>, <A as Protocol>::ClientEndpoint)>
type ProviderEndpoint = SenderOnce<(Value<T>, <A as Protocol>::ClientEndpoint)>
fn create_endpoints(
) -> (<SendValue<T, A> as Protocol>::ProviderEndpoint, <SendValue<T, A> as Protocol>::ClientEndpoint)
fn forward(
client_end: <SendValue<T, A> as Protocol>::ClientEndpoint,
provider_end: <SendValue<T, A> as Protocol>::ProviderEndpoint
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static, Global>>
type Applied = SendValue<T, <A as SharedRecApp<X>>::Applied>
impl<T, A> SealedProtocol for SendValue<T, A>
Auto Trait Implementations
impl<T, A> RefUnwindSafe for SendValue<T, A> where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, A> Send for SendValue<T, A> where
A: Send,
T: Send,
impl<T, A> Sync for SendValue<T, A> where
A: Sync,
T: Sync,
impl<T, A> Unpin for SendValue<T, A> where
A: Unpin,
T: Unpin,
impl<T, A> UnwindSafe for SendValue<T, A> where
A: UnwindSafe,
T: 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