Skip to main content

aeron_header_values_t

Type Alias aeron_header_values_t 

Source
pub type aeron_header_values_t = aeron_header_values_stct;

Aliased Type§

#[repr(C, packed(4))]
pub struct aeron_header_values_t { pub frame: aeron_header_values_frame_stct, pub initial_term_id: i32, pub position_bits_to_shift: usize, }

Fields§

§frame: aeron_header_values_frame_stct§initial_term_id: i32§position_bits_to_shift: usize

Trait Implementations§

Source§

impl<S: ResourceStorage<aeron_header_values_t>> From<AeronHeaderValues<S>> for aeron_header_values_t

Source§

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

Converts to this type from the input type.
Source§

impl NativeResource for aeron_header_values_t

Source§

type Policy = LocalResource

Source§

type Pointer = CachedPointer<aeron_header_values_stct>

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