pub struct Joined {
pub lane: usize,
pub hold: LaneHold,
pub reclaimed: Vec<Reclaimed>,
/* private fields */
}Expand description
A lane this process holds.
The kernel releases hold if the process dies. reclaimed identifies
lanes this join took back so their stream sides can be ended by exact
node/incarnation rather than by a timeout.
On orderly shutdown, call Inbox::release_lane before dropping hold.
An abrupt exit needs no cleanup: the kernel releases the hold, and the
next join reclaims the still-advertised lane.
Fields§
§lane: usize§hold: LaneHold§reclaimed: Vec<Reclaimed>Implementations§
Auto Trait Implementations§
impl Forget for Joined
impl Freeze for Joined
impl Move for Joined
impl RefUnwindSafe for Joined
impl Send for Joined
impl Sync for Joined
impl Unpin for Joined
impl UnsafeUnpin for Joined
impl UnwindSafe for Joined
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