pub struct ShmRingMetadata {
pub name: String,
pub segment_size: usize,
pub format_version: u32,
pub kind: u8,
pub spec: RingSpec,
pub lane_count: usize,
}Expand description
Persisted geometry of one existing Orbit SHM ring.
The values come from the mapped ring header. An observer does not need the
producer’s fleet capacity or compile-time RingSpec to inspect raw
frames.
Fields§
§name: StringExact POSIX SHM object name that was opened.
segment_size: usizeNumber of bytes reported by the existing SHM object.
format_version: u32Persisted Orbit ring format version.
kind: u8Stable Orbit type kind carried by this ring.
spec: RingSpecPersisted per-lane capacity, payload limit, and topology.
lane_count: usizeNumber of physical lanes present in the mapping.
Trait Implementations§
Source§impl Clone for ShmRingMetadata
impl Clone for ShmRingMetadata
Source§fn clone(&self) -> ShmRingMetadata
fn clone(&self) -> ShmRingMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShmRingMetadata
impl Debug for ShmRingMetadata
impl Eq for ShmRingMetadata
Source§impl PartialEq for ShmRingMetadata
impl PartialEq for ShmRingMetadata
impl StructuralPartialEq for ShmRingMetadata
Auto Trait Implementations§
impl Freeze for ShmRingMetadata
impl RefUnwindSafe for ShmRingMetadata
impl Send for ShmRingMetadata
impl Sync for ShmRingMetadata
impl Unpin for ShmRingMetadata
impl UnsafeUnpin for ShmRingMetadata
impl UnwindSafe for ShmRingMetadata
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