You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function was not exposed to zenoh-c because zenoh-c have only R/O access to sample. Consider if it can be added now
/// Ensure that an associated Timestamp is present in this Sample./// If not, a new one is created with the current system time and 0x00 as id./// Get the timestamp of this sample (either existing one or newly created)// tags{rust.sample.ensure_timestamp, api.sample.timestamp.ensure}pubfnensure_timestamp(&mutself) -> &Timestamp{ifletSome(ref timestamp) = self.timestamp{
timestamp
}else{let timestamp = new_reception_timestamp();self.timestamp = Some(timestamp);self.timestamp.as_ref().unwrap()}}
The text was updated successfully, but these errors were encountered:
Since we are moving to the concept of read-only Sample, this functionality is likely not needed to be exposed in zenoh-c.
Similar method is expected to be tagged as unstable and hidden in zenoh rust (see eclipse-zenoh/zenoh#822).
Describe the release item
This function was not exposed to zenoh-c because zenoh-c have only R/O access to sample. Consider if it can be added now
The text was updated successfully, but these errors were encountered: