type TakeReceiver = Mutex<Option<Receiver<(Vec<u8>, ResponseChannel<Response>)>>>;
Expand description

Locked Option of a receiver for moving the value out of the option

Aliased Type§

struct TakeReceiver {
    state: AtomicUsize,
    lock_ops: Event,
    data: UnsafeCell<Option<Receiver<(Vec<u8>, ResponseChannel<Response>)>>>,
}

Fields§

§state: AtomicUsize§lock_ops: Event§data: UnsafeCell<Option<Receiver<(Vec<u8>, ResponseChannel<Response>)>>>