pub struct Chan<E, P>(/* private fields */);
Expand description
A session typed channel. P
is the protocol and E
is the environment,
containing potential recursion targets
Implementations§
Source§impl<Z, A, B, C> Chan<Z, Choose<A, Choose<B, C>>>
Convenience function. This is identical to .sel2().sel2()
impl<Z, A, B, C> Chan<Z, Choose<A, Choose<B, C>>>
Convenience function. This is identical to .sel2().sel2()
Source§impl<Z, A, B, C, D> Chan<Z, Choose<A, Choose<B, Choose<C, D>>>>
Convenience function. This is identical to .sel2().sel2().sel2()
impl<Z, A, B, C, D> Chan<Z, Choose<A, Choose<B, Choose<C, D>>>>
Convenience function. This is identical to .sel2().sel2().sel2()
Source§impl<Z, A, B, C, D, E> Chan<Z, Choose<A, Choose<B, Choose<C, Choose<D, E>>>>>
Convenience function. This is identical to .sel2().sel2().sel2().sel2()
impl<Z, A, B, C, D, E> Chan<Z, Choose<A, Choose<B, Choose<C, Choose<D, E>>>>>
Convenience function. This is identical to .sel2().sel2().sel2().sel2()
Source§impl<Z, A, B, C, D, E, F> Chan<Z, Choose<A, Choose<B, Choose<C, Choose<D, Choose<E, F>>>>>>
Convenience function. This is identical to .sel2().sel2().sel2().sel2().sel2()
impl<Z, A, B, C, D, E, F> Chan<Z, Choose<A, Choose<B, Choose<C, Choose<D, Choose<E, F>>>>>>
Convenience function. This is identical to .sel2().sel2().sel2().sel2().sel2()
Source§impl<Z, A, B, C, D, E, F, G> Chan<Z, Choose<A, Choose<B, Choose<C, Choose<D, Choose<E, Choose<F, G>>>>>>>
Convenience function.
impl<Z, A, B, C, D, E, F, G> Chan<Z, Choose<A, Choose<B, Choose<C, Choose<D, Choose<E, Choose<F, G>>>>>>>
Convenience function.
Source§impl<Z, A, B, C, D, E, F, G, H> Chan<Z, Choose<A, Choose<B, Choose<C, Choose<D, Choose<E, Choose<F, Choose<G, H>>>>>>>>
Convenience function.
impl<Z, A, B, C, D, E, F, G, H> Chan<Z, Choose<A, Choose<B, Choose<C, Choose<D, Choose<E, Choose<F, Choose<G, H>>>>>>>>
Convenience function.
Trait Implementations§
Auto Trait Implementations§
impl<E, P> Freeze for Chan<E, P>
impl<E, P> RefUnwindSafe for Chan<E, P>where
E: RefUnwindSafe,
P: RefUnwindSafe,
impl<E, P> !Sync for Chan<E, P>
impl<E, P> Unpin for Chan<E, P>
impl<E, P> UnwindSafe for Chan<E, P>where
E: UnwindSafe,
P: UnwindSafe,
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