Lines Matching full:present
4 /// The value was present in the map, and the lock for the shard was successfully obtained.
5 Present(R), enumerator
6 /// The shard wasn't locked, and the value wasn't present in the map.
13 …/// Returns `true` if the value was present in the map, and the lock for the shard was successfull…
15 matches!(self, TryResult::Present(_)) in is_present()
18 /// Returns `true` if the shard wasn't locked, and the value wasn't present in the map.
28 /// If `self` is [Present](TryResult::Present), returns the reference to the value in the map.
29 /// Panics if `self` is not [Present](TryResult::Present).
32 TryResult::Present(r) => r, in unwrap()
38 /// If `self` is [Present](TryResult::Present), returns the reference to the value in the map.
39 /// If `self` is not [Present](TryResult::Present), returns `None`.
42 TryResult::Present(r) => Some(r), in try_unwrap()