Skip to main content

aeron_data_header_t

Type Alias aeron_data_header_t 

Source
pub type aeron_data_header_t = aeron_data_header_stct;

Aliased Type§

#[repr(C, packed(4))]
pub struct aeron_data_header_t { pub frame_header: aeron_frame_header_stct, pub term_offset: i32, pub session_id: i32, pub stream_id: i32, pub term_id: i32, pub reserved_value: i64, }

Fields§

§frame_header: aeron_frame_header_stct§term_offset: i32§session_id: i32§stream_id: i32§term_id: i32§reserved_value: i64

Trait Implementations§

Source§

impl<S: ResourceStorage<aeron_data_header_t>> From<AeronDataHeader<S>> for aeron_data_header_t

Source§

fn from(value: AeronDataHeader<S>) -> Self

Converts to this type from the input type.
Source§

impl NativeResource for aeron_data_header_t

Source§

type Policy = LocalResource

Source§

type Pointer = CachedPointer<aeron_data_header_stct>

How an owning handle reads its native pointer. Cached pointers are only valid when native calls cannot release or replace the allocation.