Struct async_session_types::Choose
source · [−]Expand description
Active choice between P
and Q
Trait Implementations
sourceimpl<P: HasDual, Q: HasDual> HasDual for Choose<P, Q> where
P: Outgoing,
Q: Outgoing,
P::Dual: Incoming,
Q::Dual: Incoming,
impl<P: HasDual, Q: HasDual> HasDual for Choose<P, Q> where
P: Outgoing,
Q: Outgoing,
P::Dual: Incoming,
Q::Dual: Incoming,
impl<P: Outgoing, Q: Outgoing> Outgoing for Choose<P, Q>
Auto Trait Implementations
impl<P, Q> RefUnwindSafe for Choose<P, Q> where
P: RefUnwindSafe,
Q: RefUnwindSafe,
impl<P, Q> Send for Choose<P, Q> where
P: Send,
Q: Send,
impl<P, Q> Sync for Choose<P, Q> where
P: Sync,
Q: Sync,
impl<P, Q> Unpin for Choose<P, Q> where
P: Unpin,
Q: Unpin,
impl<P, Q> UnwindSafe for Choose<P, Q> where
P: UnwindSafe,
Q: 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