Skip to main content

aeron_mapped_buffer_t

Type Alias aeron_mapped_buffer_t 

Source
pub type aeron_mapped_buffer_t = aeron_mapped_buffer_stct;

Aliased Type§

#[repr(C)]
pub struct aeron_mapped_buffer_t { pub addr: *mut u8, pub length: usize, }

Fields§

§addr: *mut u8§length: usize

Trait Implementations§

Source§

impl<S: ResourceStorage<aeron_mapped_buffer_t>> From<AeronMappedBuffer<S>> for aeron_mapped_buffer_t

Source§

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

Converts to this type from the input type.
Source§

impl NativeResource for aeron_mapped_buffer_t

Source§

type Policy = LocalResource

Source§

type Pointer = CachedPointer<aeron_mapped_buffer_stct>

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