pub struct CleanLockToken;
Expand description
Token indicating that there are no acquired locks while not borrowed.
Create a borrowed copy of self
Create a borrowed copy of self, on a higher level
Create a new instance
This is safe to call as long as there are no currently acquired locks
in the thread/task, and as long as there are no other CleanLockToken
in the thread/task.
A CleanLockToken
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.