pub struct S<N>(pub PhantomData<N>);
Tuple Fields
0: PhantomData<N>
Trait Implementations
sourceimpl<B, A1, A2, C, N> ContextLens<(B, C), A1, A2> for S<N> where
B: Slot,
A1: Slot,
A2: Slot,
C: Context,
N: ContextLens<C, A1, A2>,
impl<B, A1, A2, C, N> ContextLens<(B, C), A1, A2> for S<N> where
B: Slot,
A1: Slot,
A2: Slot,
C: Context,
N: ContextLens<C, A1, A2>,
type Deleted = (B, <N as ContextLens<C, A1, A2>>::Deleted)
type Target = (B, <N as ContextLens<C, A1, A2>>::Target)
fn extract_source(
(<B as Slot>::Endpoint, <C as Context>::Endpoints)
) -> (<A1 as Slot>::Endpoint, (<B as Slot>::Endpoint, <<N as ContextLens<C, A1, A2>>::Deleted as Context>::Endpoints))
fn insert_target(
q: <A2 as Slot>::Endpoint,
(<B as Slot>::Endpoint, <<N as ContextLens<C, A1, A2>>::Deleted as Context>::Endpoints)
) -> (<B as Slot>::Endpoint, <<N as ContextLens<C, A1, A2>>::Target as Context>::Endpoints)
sourceimpl<N> Protocol for S<N> where
N: Protocol,
impl<N> Protocol for S<N> where
N: Protocol,
type ClientEndpoint = ()
type ProviderEndpoint = ()
fn create_endpoints(
) -> (<S<N> as Protocol>::ProviderEndpoint, <S<N> as Protocol>::ClientEndpoint)
fn forward(
_client_end: <S<N> as Protocol>::ClientEndpoint,
_provider_end: <S<N> as Protocol>::ProviderEndpoint
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static, Global>>
impl<N> Copy for S<N> where
N: Copy,
impl<N> SealedNat for S<N> where
N: Nat,
impl<N> SealedProtocol for S<N>
Auto Trait Implementations
impl<N> RefUnwindSafe for S<N> where
N: RefUnwindSafe,
impl<N> Send for S<N> where
N: Send,
impl<N> Sync for S<N> where
N: Sync,
impl<N> Unpin for S<N> where
N: Unpin,
impl<N> UnwindSafe for S<N> where
N: 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
sourceimpl<T, F, A> HasRecApp<F, A> for T where
F: 'static + RecApp<A, Applied = T>,
A: 'static,
T: 'static + Send,
impl<T, F, A> HasRecApp<F, A> for T where
F: 'static + RecApp<A, Applied = T>,
A: 'static,
T: 'static + Send,
sourceimpl<'a, S, Row, F> HasSumApp<'a, Row, F> for S where
F: TyCon,
S: Send,
Row: SumApp<'a, F, Applied = S>,
impl<'a, S, Row, F> HasSumApp<'a, Row, F> for S where
F: TyCon,
S: Send,
Row: SumApp<'a, F, Applied = S>,
sourceimpl<'a, T, F, A> HasTypeApp<'a, F, A> for T where
T: Send,
F: TypeApp<'a, A, Applied = T>,
impl<'a, T, F, A> HasTypeApp<'a, F, A> for T where
T: Send,
F: TypeApp<'a, A, Applied = T>,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more