MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / LockGuardId

Class LockGuardId

src/interest/concurrency/lock.rs:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17/// Uniquely identify a LockGuard in a crate.
18#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
19pub struct LockGuardId {
20 pub instance_id: InstanceId,
21 pub local: Local,
22}
23
24impl LockGuardId {
25 pub fn new(instance_id: InstanceId, local: Local) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected