pub struct SendValue<T, A>(/* private fields */);Trait Implementations§
Source§impl<T, A> Protocol for SendValue<T, A>
impl<T, A> Protocol for SendValue<T, A>
type ClientEndpoint = ReceiverOnce<(Value<T>, <A as Protocol>::ClientEndpoint)>
type ProviderEndpoint = SenderOnce<(Value<T>, <A as Protocol>::ClientEndpoint)>
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<T, A> SealedProtocol for SendValue<T, A>
Auto Trait Implementations§
impl<T, A> Freeze for SendValue<T, A>
impl<T, A> RefUnwindSafe for SendValue<T, A>
impl<T, A> Send for SendValue<T, A>
impl<T, A> Sync for SendValue<T, A>
impl<T, A> Unpin for SendValue<T, A>
impl<T, A> UnsafeUnpin for SendValue<T, A>
impl<T, A> UnwindSafe for SendValue<T, A>
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