pub struct CapabilityTimeDescriptor {
pub domain_id: String,
pub timestamp_semantics: String,
pub is_hardware_timestamped: bool,
pub pipeline_delay_ns: Option<u64>,
pub pipeline_uncertainty_ns: u64,
pub supports_per_point_timestamp: bool,
}Expand description
Optional machine-readable timing description for one sensor Capability. This is static registration metadata, not a per-sample timestamp or dynamic clock-health report. Capabilities that do not produce timestamped data omit it; older providers remain valid when the field is absent.
Fields§
§domain_id: StringStable clock domain referenced by hardware status and Chronos models.
timestamp_semantics: StringAcquisition event represented by the payload timestamp, for example “exposure_midpoint” or “scan_start”.
is_hardware_timestamped: bool§pipeline_delay_ns: Option<u64>Present only when the pipeline delay is known and fixed.
pipeline_uncertainty_ns: u64§supports_per_point_timestamp: boolImplementations§
Source§impl CapabilityTimeDescriptor
impl CapabilityTimeDescriptor
Sourcepub fn pipeline_delay_ns(&self) -> u64
pub fn pipeline_delay_ns(&self) -> u64
Returns the value of pipeline_delay_ns, or the default value if pipeline_delay_ns is unset.
Trait Implementations§
Source§impl Clone for CapabilityTimeDescriptor
impl Clone for CapabilityTimeDescriptor
Source§impl Debug for CapabilityTimeDescriptor
impl Debug for CapabilityTimeDescriptor
Source§impl Default for CapabilityTimeDescriptor
impl Default for CapabilityTimeDescriptor
impl Eq for CapabilityTimeDescriptor
Source§impl Hash for CapabilityTimeDescriptor
impl Hash for CapabilityTimeDescriptor
Source§impl Message for CapabilityTimeDescriptor
impl Message for CapabilityTimeDescriptor
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for CapabilityTimeDescriptor
impl PartialEq for CapabilityTimeDescriptor
impl StructuralPartialEq for CapabilityTimeDescriptor
Auto Trait Implementations§
impl Freeze for CapabilityTimeDescriptor
impl RefUnwindSafe for CapabilityTimeDescriptor
impl Send for CapabilityTimeDescriptor
impl Sync for CapabilityTimeDescriptor
impl Unpin for CapabilityTimeDescriptor
impl UnsafeUnpin for CapabilityTimeDescriptor
impl UnwindSafe for CapabilityTimeDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].