pub struct AcquiredFamily {
pub aih: Option<(String, AgentLock)>,
pub tags: Vec<AgentLock>,
}Expand description
An acquired lock Family, partitioned for the registry.
Fields§
§aih: Option<(String, AgentLock)>(hierarchy, lock) for the AIH lock — None for a GROUPED family.
The tag-lock family (group members, or the AIH’s bound tags).
Implementations§
Source§impl AcquiredFamily
impl AcquiredFamily
Sourcepub fn into_locks(self) -> Vec<AgentLock>
pub fn into_locks(self) -> Vec<AgentLock>
Flatten to the raw lock list (AIH lock first, then tags) — for callers
that transfer or hold the whole family rather than partitioning it into a
registry (e.g. agents message, which transfers the family to the child).
Auto Trait Implementations§
impl !RefUnwindSafe for AcquiredFamily
impl !UnwindSafe for AcquiredFamily
impl Freeze for AcquiredFamily
impl Send for AcquiredFamily
impl Sync for AcquiredFamily
impl Unpin for AcquiredFamily
impl UnsafeUnpin for AcquiredFamily
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more