Skip to main content

aeron_option_header_t

Type Alias aeron_option_header_t 

Source
pub type aeron_option_header_t = aeron_option_header_stct;

Aliased Type§

#[repr(C, packed(1))]
pub struct aeron_option_header_t { pub option_length: u16, pub type_: u16, }

Fields§

§option_length: u16§type_: u16

Trait Implementations§

Source§

impl<S: ResourceStorage<aeron_option_header_t>> From<AeronOptionHeader<S>> for aeron_option_header_t

Source§

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

Converts to this type from the input type.
Source§

impl NativeResource for aeron_option_header_t

Source§

type Policy = LocalResource

Source§

type Pointer = CachedPointer<aeron_option_header_stct>

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