pub struct ControlReceiver { /* private fields */ }Expand description
The receiving half — not Clone in spirit (only one thing should be
driving a given control channel at a time) but crossbeam’s
Receiver<T> is a cheap shared handle under the hood, which is
exactly what crate::pipeline::Pipeline::run needs: it clones this
into a fresh worker thread on every call.
Trait Implementations§
Source§impl Clone for ControlReceiver
impl Clone for ControlReceiver
Source§fn clone(&self) -> ControlReceiver
fn clone(&self) -> ControlReceiver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ControlReceiver
impl RefUnwindSafe for ControlReceiver
impl Send for ControlReceiver
impl Sync for ControlReceiver
impl Unpin for ControlReceiver
impl UnsafeUnpin for ControlReceiver
impl UnwindSafe for ControlReceiver
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