pub struct BowlHandle { /* private fields */ }Expand description
The clonable half of a bowl: a sender plus a shared receiver over the same
channel. Cloning a handle is how both sides of a pup boundary reach one
channel — a bowl is deliberately shared, not copied. The channel carries
Packed values, since every message crosses a thread boundary.
Implementations§
Source§impl BowlHandle
impl BowlHandle
Sourcepub fn new() -> BowlHandle
pub fn new() -> BowlHandle
A fresh, empty channel.
Trait Implementations§
Source§impl Clone for BowlHandle
impl Clone for BowlHandle
Source§fn clone(&self) -> BowlHandle
fn clone(&self) -> BowlHandle
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 moreSource§impl Debug for BowlHandle
impl Debug for BowlHandle
Auto Trait Implementations§
impl Freeze for BowlHandle
impl RefUnwindSafe for BowlHandle
impl Send for BowlHandle
impl Sync for BowlHandle
impl Unpin for BowlHandle
impl UnsafeUnpin for BowlHandle
impl UnwindSafe for BowlHandle
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