[−][src]Struct dialectic::types::Send
Send a message of type T
using send
, then continue with
protocol P
.
Notes
A session ending with a Send
can be abbreviated: Send<String>
is shorthand for Send<String, Done>
.
Trait Implementations
impl<E, T: Any, P> Actionable<E> for Send<T, P> where
P: Scoped<E::Depth>,
E: Environment,
[src]
P: Scoped<E::Depth>,
E: Environment,
type Action = Send<T, P>
The next actual channel action: Send
, Recv
, Offer
, Choose
, or Split
.
This steps through Loop
, Break
, and Continue
transparently. Read more
type Env = E
impl<T: Clone, P: Clone> Clone for Send<T, P>
[src]
impl<T: Copy, P: Copy> Copy for Send<T, P>
[src]
impl<T: Debug, P: Debug> Debug for Send<T, P>
[src]
impl<T: Default, P: Default> Default for Send<T, P>
[src]
impl<T: Eq, P: Eq> Eq for Send<T, P>
[src]
impl<T: Hash, P: Hash> Hash for Send<T, P>
[src]
pub 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<T: Ord, P: Ord> Ord for Send<T, P>
[src]
pub fn cmp(&self, other: &Send<T, P>) -> 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<T: PartialEq, P: PartialEq> PartialEq<Send<T, P>> for Send<T, P>
[src]
impl<T: PartialOrd, P: PartialOrd> PartialOrd<Send<T, P>> for Send<T, P>
[src]
pub fn partial_cmp(&self, other: &Send<T, P>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Send<T, P>) -> bool
[src]
pub fn le(&self, other: &Send<T, P>) -> bool
[src]
pub fn gt(&self, other: &Send<T, P>) -> bool
[src]
pub fn ge(&self, other: &Send<T, P>) -> bool
[src]
impl<N: Unary, T: Any, P: Scoped<N>> Scoped<N> for Send<T, P>
[src]
impl<T: Any, P: Session> Session for Send<T, P>
[src]
type Dual = Recv<T, P::Dual>
The dual to this session type, i.e. the session type required of the other end of the channel. Read more
impl<T, P> StructuralEq for Send<T, P>
[src]
impl<T, P> StructuralPartialEq for Send<T, P>
[src]
Auto Trait Implementations
impl<T, P> RefUnwindSafe for Send<T, P> where
P: RefUnwindSafe,
T: RefUnwindSafe,
[src]
P: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, P> Send for Send<T, P> where
P: Send,
T: Send,
[src]
P: Send,
T: Send,
impl<T, P> Sync for Send<T, P> where
P: Sync,
T: Sync,
[src]
P: Sync,
T: Sync,
impl<T, P> Unpin for Send<T, P> where
P: Unpin,
T: Unpin,
[src]
P: Unpin,
T: Unpin,
impl<T, P> UnwindSafe for Send<T, P> where
P: UnwindSafe,
T: UnwindSafe,
[src]
P: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> CallBy<'a, Mut> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> CallBy<'a, Ref> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> CallBy<'a, Val> for T
[src]
type Type = T
The type of Self
when called by Convention
.
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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>,