pub struct Offer<P: Incoming, Q: Incoming>(/* private fields */);
Expand description
Passive choice (offer) between P
and Q
Trait Implementations§
Auto Trait Implementations§
impl<P, Q> Freeze for Offer<P, Q>
impl<P, Q> RefUnwindSafe for Offer<P, Q>where
P: RefUnwindSafe,
Q: RefUnwindSafe,
impl<P, Q> Send for Offer<P, Q>
impl<P, Q> Sync for Offer<P, Q>
impl<P, Q> Unpin for Offer<P, Q>
impl<P, Q> UnwindSafe for Offer<P, Q>where
P: UnwindSafe,
Q: 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