Struct dialectic::types::Split [−][src]
Split the connection into send-only and receive-only halves using split
.
The type Split<P, Q, R>
means: do the Transmit
-only session P
concurrently with the Receive
-only session Q
, running them both
to Done
, and when they’ve completed, do the session R
.
Trait Implementations
impl<P: 'static, Q: 'static, R: 'static> Actionable for Split<P, Q, R>
[src]
type NextAction = Self
impl<P: Clone, Q: Clone, R: Clone> Clone for Split<P, Q, R>
[src]
impl<P: Copy, Q: Copy, R: Copy> Copy for Split<P, Q, R>
[src]
impl<P: Debug, Q: Debug, R: Debug> Debug for Split<P, Q, R>
[src]
impl<P: Default, Q: Default, R: Default> Default for Split<P, Q, R>
[src]
impl<P: Eq, Q: Eq, R: Eq> Eq for Split<P, Q, R>
[src]
impl<P: HasDual, Q: HasDual, R: HasDual> HasDual for Split<P, Q, R>
[src]
type DualSession = Split<Q::DualSession, P::DualSession, R::DualSession>
Note how the dual flips the position of P
and Q
, because P::Dual
is a receiving
session, and therefore belongs on the right of the split, and Q::Dual
is a sending
session, and therefore belongs on the left of the split.
impl<P: Hash, Q: Hash, R: Hash> Hash for Split<P, Q, R>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<N: Unary, Level: Unary, P: Lift<N, Level>, Q: Lift<N, Level>, R: Lift<N, Level>> Lift<N, Level> for Split<P, Q, R>
[src]
impl<P: Ord, Q: Ord, R: Ord> Ord for Split<P, Q, R>
[src]
fn cmp(&self, other: &Split<P, Q, R>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<P: PartialEq, Q: PartialEq, R: PartialEq> PartialEq<Split<P, Q, R>> for Split<P, Q, R>
[src]
impl<P: PartialOrd, Q: PartialOrd, R: PartialOrd> PartialOrd<Split<P, Q, R>> for Split<P, Q, R>
[src]
fn partial_cmp(&self, other: &Split<P, Q, R>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<N: Unary, P: Scoped<N>, Q: Scoped<N>, R: Scoped<N>> Scoped<N> for Split<P, Q, R>
[src]
impl<P, Q, R> StructuralEq for Split<P, Q, R>
[src]
impl<P, Q, R> StructuralPartialEq for Split<P, Q, R>
[src]
impl<N: Unary, P: Subst<S, N>, Q: Subst<S, N>, R: Subst<S, N>, S> Subst<S, N> for Split<P, Q, R>
[src]
type Substituted = Split<P::Substituted, Q::Substituted, R::Substituted>
The result of the substitution.
impl<N: Unary, P: 'static, Q: 'static, R: Then<S, N>, S> Then<S, N> for Split<P, Q, R>
[src]
Auto Trait Implementations
impl<P, Q, R> RefUnwindSafe for Split<P, Q, R> where
P: RefUnwindSafe,
Q: RefUnwindSafe,
R: RefUnwindSafe,
P: RefUnwindSafe,
Q: RefUnwindSafe,
R: RefUnwindSafe,
impl<P, Q, R> Send for Split<P, Q, R> where
P: Send,
Q: Send,
R: Send,
P: Send,
Q: Send,
R: Send,
impl<P, Q, R> Sync for Split<P, Q, R> where
P: Sync,
Q: Sync,
R: Sync,
P: Sync,
Q: Sync,
R: Sync,
impl<P, Q, R> Unpin for Split<P, Q, R> where
P: Unpin,
Q: Unpin,
R: Unpin,
P: Unpin,
Q: Unpin,
R: Unpin,
impl<P, Q, R> UnwindSafe for Split<P, Q, R> where
P: UnwindSafe,
Q: UnwindSafe,
R: UnwindSafe,
P: UnwindSafe,
Q: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<'a, T, S> As<'a, Val, T> for S where
S: Into<T>,
[src]
S: Into<T>,
pub fn as_convention(this: S) -> T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, T> By<'a, Mut> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> By<'a, Ref> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> By<'a, Val> for T
[src]
type Type = T
The type of Self
when called by Convention
.
impl<'a, T> Convert<'a, Mut, Mut> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> Convert<'a, Mut, Ref> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> Convert<'a, Mut, Val> for T where
T: 'a + Clone,
[src]
T: 'a + Clone,
impl<'a, T> Convert<'a, Ref, Ref> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> Convert<'a, Ref, Val> for T where
T: 'a + Clone,
[src]
T: 'a + Clone,
impl<'a, T> Convert<'a, Val, Val> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,