Skip to main content

aeron_setup_header_t

Type Alias aeron_setup_header_t 

Source
pub type aeron_setup_header_t = aeron_setup_header_stct;

Aliased Type§

#[repr(C)]
pub struct aeron_setup_header_t { pub frame_header: aeron_frame_header_stct, pub term_offset: i32, pub session_id: i32, pub stream_id: i32, pub initial_term_id: i32, pub active_term_id: i32, pub term_length: i32, pub mtu: i32, pub ttl: i32, }

Fields§

§frame_header: aeron_frame_header_stct§term_offset: i32§session_id: i32§stream_id: i32§initial_term_id: i32§active_term_id: i32§term_length: i32§mtu: i32§ttl: i32

Trait Implementations§

Source§

impl<S: ResourceStorage<aeron_setup_header_t>> From<AeronSetupHeader<S>> for aeron_setup_header_t

Source§

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

Converts to this type from the input type.
Source§

impl NativeResource for aeron_setup_header_t

Source§

type Policy = LocalResource

Source§

type Pointer = CachedPointer<aeron_setup_header_stct>

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