[−][src]Trait tokenlock::Token
Trait for an unforgeable token used to access the contents of a
TokenLock
.
Safety
Given two distinct instances of T: Token
x
and y
,
x.eq_id(i) && y.eq_id(i)
must not be true
for any i
.
Trait for an unforgeable token used to access the contents of a
TokenLock
.
Given two distinct instances of T: Token
x
and y
,
x.eq_id(i) && y.eq_id(i)
must not be true
for any i
.
impl Token<ArcTokenId> for ArcToken
[src]fn eq_id(&self, id: &ArcTokenId) -> bool
[src]impl Token<RcTokenId> for RcToken
[src]