pub struct End;
Trait Implementations
sourceimpl Protocol for End
impl Protocol for End
type ClientEndpoint = ReceiverOnce<()>
type ProviderEndpoint = SenderOnce<()>
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 SealedProtocol for End
Auto Trait Implementations
impl RefUnwindSafe for End
impl Send for End
impl Sync for End
impl Unpin for End
impl UnwindSafe for End
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