File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ pub struct PrimitiveOptions<'a> {
37
37
pub lifespan : Option < QoSDuration > ,
38
38
/// Override the default [`QoSProfile::liveliness`] for the primitive.
39
39
pub liveliness : Option < QoSLivelinessPolicy > ,
40
- /// Override the default [`QoSProfile::liveliness_lease_duration `] for the primitive.
40
+ /// Override the default [`QoSProfile::liveliness_lease `] for the primitive.
41
41
pub liveliness_lease : Option < QoSDuration > ,
42
42
/// Override the default [`QoSProfile::avoid_ros_namespace_conventions`] for the primitive.
43
43
pub avoid_ros_namespace_conventions : Option < bool > ,
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ impl QoSProfile {
244
244
}
245
245
246
246
/// Sets the QoS profile deadline to the specified `Duration`.
247
- pub fn deadline ( mut self , deadline : Duration ) -> Self {
247
+ pub fn deadline_duration ( mut self , deadline : Duration ) -> Self {
248
248
self . deadline = QoSDuration :: Custom ( deadline) ;
249
249
self
250
250
}
@@ -256,7 +256,7 @@ impl QoSProfile {
256
256
}
257
257
258
258
/// Sets the QoS profile lifespan to the specified `Duration`.
259
- pub fn lifespan ( mut self , lifespan : Duration ) -> Self {
259
+ pub fn lifespan_duration ( mut self , lifespan : Duration ) -> Self {
260
260
self . lifespan = QoSDuration :: Custom ( lifespan) ;
261
261
self
262
262
}
You can’t perform that action at this time.
0 commit comments