pub struct RendezvousGuard(/* private fields */);
Expand description
A guard forked off a Rendezvous
struct.
Implementations§
Source§impl RendezvousGuard
impl RendezvousGuard
Sourcepub fn fork(&self) -> RendezvousGuard
pub fn fork(&self) -> RendezvousGuard
Forks a guard off the owning Rendezvous
channel.
When all guards are dropped, Rendezvous::rendezvous
will proceed; until then, that
call blocks.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RendezvousGuard
impl RefUnwindSafe for RendezvousGuard
impl Send for RendezvousGuard
impl Sync for RendezvousGuard
impl Unpin for RendezvousGuard
impl UnwindSafe for RendezvousGuard
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