We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef8e9f8 commit 5f41764Copy full SHA for 5f41764
rclrs/src/client.rs
@@ -30,6 +30,11 @@ pub struct ClientHandle {
30
}
31
32
impl ClientHandle {
33
+ /// Locks the `rcl_client_t` instance and returns a mutable reference to it.
34
+ ///
35
+ /// # Returns
36
37
+ /// A `MutexGuard` holding a mutable reference to the `rcl_client_t` instance.
38
pub(crate) fn lock(&self) -> MutexGuard<rcl_client_t> {
39
self.rcl_client.lock().unwrap()
40
0 commit comments