pub struct Sender<Head, Current, Tail>(/* private fields */)
where
Head: Concat<(Current,)>,
<Head as Concat<(Current,)>>::Output: Concat<Tail>,
Tail: Tuple,
<Whole<Head, Current, Tail> as Tuple>::TupleList: InElement;Expand description
The placer of an tuple slot.
The 3 generic represents the position of the target element of the tuple
this sender attempts to place. For example, Sender<(A, B), C, (D, E, F)>
represents a sender of C in (A, B, C, D, E, F).
The user can only access the slot once by this structure.
Implementations§
Trait Implementations§
impl<Head, Current, Tail> Send for Sender<Head, Current, Tail>
Auto Trait Implementations§
impl<Head, Current, Tail> Freeze for Sender<Head, Current, Tail>
impl<Head, Current, Tail> RefUnwindSafe for Sender<Head, Current, Tail>
impl<Head, Current, Tail> !Sync for Sender<Head, Current, Tail>
impl<Head, Current, Tail> Unpin for Sender<Head, Current, Tail>
impl<Head, Current, Tail> UnwindSafe for Sender<Head, Current, Tail>
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