Struct crossbeam_channel::context::Inner
source · struct Inner {
select: AtomicUsize,
packet: AtomicPtr<()>,
thread: Thread,
thread_id: ThreadId,
}
Expand description
Inner representation of Context
.
Fields§
§select: AtomicUsize
Selected operation.
packet: AtomicPtr<()>
A slot into which another thread may store a pointer to its Packet
.
thread: Thread
Thread handle.
thread_id: ThreadId
Thread id.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Inner
impl RefUnwindSafe for Inner
impl Send for Inner
impl Sync for Inner
impl Unpin for Inner
impl UnwindSafe for Inner
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