Skip to main content

Crate rusteron_client

Crate rusteron_client 

Source
Expand description

§rusteron-client

Fast, idiomatic Rust for Aeron IPC and UDP messaging, using the Aeron C API directly. Connect to a Media Driver, publish messages and poll subscriptions.

Rusteron is sponsored and maintained by GSR, a global leader in algorithmic trading and market making in digital assets. Rusteron has been running in production in GSR’s low-latency trading system since the beginning of 2025. It is mature and battle tested. It is developed under the GSR GitHub organisation. We welcome contributions, feedback and discussion. To integrate or contribute, open an issue or reach out directly.

Quick start · Sending · Callbacks · Migration to 0.3

§Installation

Add a static client dependency:

[dependencies]
rusteron-client = { version = "0.3", features = ["static"] }

Use the default features for dynamic linking. On macOS and Linux, add precompile or precompile-rustls alongside static to use prebuilt C libraries without CMake or Java. See BUILD.md for source-build and native link requirements.

§Minimal pub/sub

Start a Media Driver before running this example.

use rusteron_client::*;
use std::time::{Duration, Instant};

let context = AeronContext::new()?;
context.set_error_handler(Some(AeronErrorHandlerLogger))?;
let client = Aeron::new(&context)?;
client.start()?;

let timeout = Duration::from_secs(5);
let subscription = client
    .async_add_subscription(c"aeron:ipc", 123, Handlers::NONE, Handlers::NONE)?
    .poll_blocking(timeout)?;
let publication = client
    .async_add_publication(c"aeron:ipc", 123)?
    .poll_blocking(timeout)?;

let deadline = Instant::now() + timeout;
let mut idle = BackoffIdleStrategy::new();
loop {
    match publication.offer(b"hello") {
        Ok(_) => break,
        Err(error) if error.is_retryable() && Instant::now() < deadline => idle.idle(0),
        Err(error) => return Err(error.into()),
    }
}

let mut received = false;
while !received {
    if Instant::now() >= deadline {
        return Err("timed out waiting for a message".into());
    }
    let fragments = subscription.poll_fn(|message, _header| {
        println!("received {} bytes", message.len());
        received = true;
    }, 10)?;
    idle.idle(fragments);
}

poll_blocking busy-polls the calling thread until the registration completes. It keeps setup code and examples short. In an event loop, call the async registration’s poll() yourself. See the non-blocking publisher.

Aeron::connect_default() and Aeron::connect_dir(dir) build the context and client and start the conductor in one call. Build the AeronContext yourself to set an error handler, driver timeout or idle strategy. Without an error handler, Aeron C prints an asynchronous client error to stderr and exits the process.

§Errors and offer results

Send APIResultUse
offer(message)Result<i64, AeronOfferError>Copy one message into the log
offer_parts(parts)Result<i64, AeronOfferError>Send several slices as one message
try_claim_owned(length)Result<AeronClaim<'_>, AeronOfferError>Write directly into a claimed log region
offer_raw / try_claim_rawNative i64 position or error sentinelHandle native status codes yourself

For typed errors, retry when error.is_retryable() is true. Use an idle strategy when no progress is made. Set a client error handler to receive asynchronous faults.

A claim borrows its publication and aborts on drop unless committed:

let mut claim = publication.try_claim_owned(5)?;
claim.data().copy_from_slice(b"hello");
claim.commit()?;

See the sending and error guide for retry loops and reserved values.

§Handlers and callbacks

NeedAPI
Reusable callback, borrowed exclusivelysubscription.poll(&mut callback, fragment_limit)
Raw fragments, with a stack closuresubscription.poll_fn(callback, fragment_limit)
Complete messagesFragmentAssembler::new(callback)
Controlled message deliveryControlledFragmentAssembler::new(callback)
Callback state shared with code outside the poll loopHandler::new(callback); read through borrow() or lock(). Not used by polls
Conductor callbackOwned callback setter, or SharedHandler::new_shared(callback)
No optional callbackHandlers::NONE

The poll path uses no Rc, Arc, RefCell or Mutex. poll(&mut callback, limit), poll_fn and the owned assemblers pass Aeron C a plain &mut to your callback as clientd. For each fragment, the trampoline casts clientd back to &mut F and calls it. Rusteron adds no lock, borrow check, reference count or allocation per fragment or per poll. Handler (Rc<RefCell<T>>) and SharedHandler (Arc<Mutex<T>>) exist only for callbacks that C keeps after the call returns, such as error, available image, unavailable image and close handlers. The conductor calls those on events, not per message.

On latency-sensitive receive threads, use poll(&mut callback, limit), poll_fn or an owned assembler. Local Handler::lock() and borrow() use RefCell borrow checks, with no mutex or atomic operation. Polls never take a Handler. SharedHandler::lock() takes a mutex and can wait for an active callback. Shared callbacks take the same mutex when invoked. See synchronisation costs.

Create an assembler once and reuse it. AeronFragmentClosureAssembler takes a new closure on each poll, and FragmentAssembler::new(callback) owns one fixed callback. This example uses the closure assembler:

let mut assembler = AeronFragmentClosureAssembler::new()?;
assembler.poll(subscription, |message, _header| {
    println!("received a complete {}-byte message", message.len());
}, 64)?;

§Callback arguments are borrowed

Callback buffers, headers and image views are valid only during the callback. Copy the fields you need to keep. See the callback guide for the borrowed wrapper types.

§Why handlers stay alive until the client closes

The conductor can call a registered handler after its subscription closes. Rusteron keeps the handler alive through native client cleanup. Dropping your handler does not unregister it. For retention rules and replaceable callbacks, see the handler lifetime guide.

§General patterns

§Resource lifecycle and close()

  • Owning handles share native ownership where Clone is supported. close(self) releases that owner; native cleanup waits for the last owner, including children.
  • Getters return lifetime-bound Ref views. These views cannot be cloned or outlive their parent. as_ref() creates another short borrow.
  • Contexts are configured before native initialisation. Later changes are rejected.
  • close_with_handler(handler) closes like close(self) and calls the handler from the conductor once the close finishes. It returns an error unless this is the last owning handle.
  • image_at_index(i) and image_by_session_id(id) return a retained Option<AeronImage>. The handle stays valid after the image closes or the subscription drops, but a closed image polls zero fragments.
  • Raw-pointer construction, native struct references and forced cleanup require unsafe and the documented caller guarantees.

See owning and borrowed handles and thread safety.

§Building channel URIs

Use c"aeron:ipc" for constant channels, cformat! for dynamic C strings, or AeronUriStringBuilder for typed URI parameters. Build dynamic strings outside the polling loop and reuse them. Duration helpers reject values that overflow i64 nanoseconds.

See channel examples.

§Idle strategies

Call idle.idle(work_count) after a polling cycle. BackoffIdleStrategy moves through spinning, yielding and sleeping. BusySpinIdleStrategy, YieldingIdleStrategy, SleepingIdleStrategy and NoOpIdleStrategy support other workloads. Use these strategies in retry and poll loops instead of direct CPU pause hints. Keep one instance per loop or thread. When idling only on retries, reset backoff after a successful operation. Match the strategy and CPU placement when comparing benchmarks.

See the poll-loop guide.

§Examples

ExampleShows
Basic pub/subPublishing and fragment assembly
Non-blocking publisherEvent-loop setup
Zero-copy claimClaim, write and commit
Request/responseResponse channels
File transferChunking and reassembly
Driver statsCounters and error logs
Basic publisher and subscriberPorts of Aeron’s BasicPublisher and BasicSubscriber
Streaming rateStreaming publisher and rate-reporting subscriber
Ping/pongRound-trip latency histogram, as in Aeron’s cping and cpong
C ping/pong workloadThe cping/cpong workload for comparing with Aeron C
Exclusive IPC throughputExclusive publication throughput over IPC
Retained imagesKeeping and polling an image beyond one poll
Multi-destination subscriptionManual MDS

§Documentation and guides

§Contributing and license

See CONTRIBUTING.md. Dual-licensed under MIT or Apache-2.0. Thanks to Rusteron’s creator @mimran1980, @bspeice for the original libaeron-sys, and the Aeron community.

§Features

  • static: Statically links the Aeron C code. By default, the library links the Aeron C libraries dynamically
  • backtrace: Logs a backtrace for each AeronCError
  • extra-logging: Logs when a resource is created and destroyed. Useful if you’re seeing a segfault due to a resource being closed
  • log-c-bindings: Logs every C binding call with arguments and return values. Useful for debugging FFI interactions
  • precompile: Uses precompiled C code instead of requiring cmake and java to be installed

Re-exports§

pub use bindings::aeron_controlled_fragment_handler_action_en as AeronControlledFragmentHandlerAction;
pub use bindings::aeron_uri_type_enum as AeronUriType;
pub use bindings::aeron_uri_ats_status_en as AeronUriAtsStatus;
pub use bindings::aeron_cnc_load_result_stct as AeronCncLoadResult;

Modules§

bindings

Macros§

cformat
format! for C strings: builds the formatted String and converts it to a CString in one visibly-named step.

Structs§

Aeron
AeronAgentCloseFuncLogger
AeronAgentCloseFuncSlot
A callback you can replace without registering another handler.
AeronAgentDoWorkFuncLogger
AeronAgentDoWorkFuncSlot
A callback you can replace without registering another handler.
AeronAgentRunner
AeronAgentStartFuncLogger
AeronAgentStartFuncSlot
A callback you can replace without registering another handler.
AeronArchiveRecordingPositionKeyLayout
AeronAsyncAddCounter
AeronAsyncAddExclusivePublication
AeronAsyncAddPublication
AeronAsyncAddSubscription
AeronAsyncDestination
AeronAsyncDestinationById
AeronAsyncGetNextAvailableSessionId
AeronAvailableCounterLogger
AeronAvailableCounterPair
AeronAvailableCounterSlot
A callback you can replace without registering another handler.
AeronAvailableImageLogger
AeronAvailableImageSlot
A callback you can replace without registering another handler.
AeronBlockHandlerLogger
AeronBlockHandlerSlot
A callback you can replace without registering another handler.
AeronBufferClaim
Structure used to hold information for a try_claim function call.
AeronCError
Aeron C API error: code + optional message.
AeronClaim
Zero-copy claim on a publication’s term buffer with a RAII commit-or-abort lifecycle.
AeronClientRegisteringResource
AeronCloseClientLogger
AeronCloseClientPair
AeronCloseClientSlot
A callback you can replace without registering another handler.
AeronCnc
AeronCncConstants
AeronCncMetadata
AeronContext
AeronControlledFragmentClosureAssembler
A controlled fragment assembler that takes a new closure on every poll.
AeronControlledFragmentHandlerLogger
AeronControlledFragmentHandlerSlot
A callback you can replace without registering another handler.
AeronCounter
AeronCounterConstants
Configuration for a counter that does not change during its lifetime.
AeronCounterMetadataDescriptor
AeronCounterValueDescriptor
AeronCountersReader
AeronCountersReaderBuffers
AeronCountersReaderForeachCounterFuncLogger
AeronCountersReaderForeachCounterFuncSlot
A callback you can replace without registering another handler.
AeronDataHeader
AeronDataHeaderAsLongs
AeronErrorHandlerLogger
AeronErrorHandlerSlot
A callback you can replace without registering another handler.
AeronErrorHeader
AeronErrorLogReaderFuncLogger
AeronErrorLogReaderFuncSlot
A callback you can replace without registering another handler.
AeronErrorLogger
Production error handler that routes Aeron async errors through the Rust log facade at error level with a concise format. This is the recommended default for AeronContext::set_error_handler.
AeronExclusivePublication
AeronFprintfHandlerLogger
AeronFprintfHandlerSlot
A callback you can replace without registering another handler.
AeronFragmentClosureAssembler
A fragment assembler that takes a new closure on every poll.
AeronFragmentHandlerLogger
AeronFragmentHandlerSlot
A callback you can replace without registering another handler.
AeronFrameHeader
AeronHeader
AeronHeaderValues
AeronHeaderValuesFrame
AeronIdleStrategy
AeronIdleStrategyFuncLogger
AeronIdleStrategyFuncSlot
A callback you can replace without registering another handler.
AeronImage
AeronImageConstants
Configuration for an image that does not change during it’s lifetime.
AeronImageControlledFragmentAssembler
The controlled counterpart of AeronImageFragmentAssembler, for a single image
AeronImageFragmentAssembler
A fragment assembler for a single image, such as one from AeronSubscription::image_at_index, that owns its callback.
AeronIovec
AeronIpcChannelParams
AeronLogBuffer
AeronLogbufferMetadata
AeronLossReporter
AeronLossReporterEntry
AeronLossReporterReadEntryFuncLogger
AeronLossReporterReadEntryFuncSlot
A callback you can replace without registering another handler.
AeronMappedBuffer
AeronMappedFile
AeronMappedRawLog
AeronNakHeader
AeronNewPublicationLogger
AeronNewPublicationSlot
A callback you can replace without registering another handler.
AeronNewSubscriptionLogger
AeronNewSubscriptionSlot
A callback you can replace without registering another handler.
AeronNotificationLogger
AeronNotificationSlot
A callback you can replace without registering another handler.
AeronOptionHeader
AeronPerThreadError
AeronPublication
AeronPublicationConstants
Configuration for a publication that does not change during it’s lifetime.
AeronPublicationErrorFrameHandlerLogger
AeronPublicationErrorFrameHandlerSlot
A callback you can replace without registering another handler.
AeronPublicationErrorValues
AeronPublicationErrorValuesOwned
A publication error frame copied by AeronPublicationErrorValues::try_to_owned.
AeronReservedValueSupplierLogger
AeronReservedValueSupplierSlot
A callback you can replace without registering another handler.
AeronResolutionHeader
AeronResolutionHeaderIpv4
AeronResolutionHeaderIpv6
AeronResponseSetupHeader
AeronRttmHeader
AeronSetupHeader
AeronStatusMessageHeader
AeronStatusMessageOptionalHeader
AeronStatusTracker
Status transition tracker that emits only when the observed AeronStatus differs from the previously recorded state.
AeronStrToPtrHashMap
AeronStrToPtrHashMapForEachFuncLogger
AeronStrToPtrHashMapForEachFuncSlot
A callback you can replace without registering another handler.
AeronStrToPtrHashMapKey
AeronSubscription
AeronSubscriptionConstants
AeronUdpChannelParams
AeronUnavailableCounterLogger
AeronUnavailableCounterPair
AeronUnavailableCounterSlot
A callback you can replace without registering another handler.
AeronUnavailableImageLogger
AeronUnavailableImageSlot
A callback you can replace without registering another handler.
AeronUri
AeronUriParam
AeronUriParams
AeronUriParseCallbackLogger
AeronUriParseCallbackSlot
A callback you can replace without registering another handler.
AeronUriStringBuilder
BackoffIdleStrategy
Adaptive backoff: spin a few times, then yield a few times, then sleep with an exponentially growing park up to a max. A good general-purpose strategy. (Aeron BackoffIdleStrategy.)
Borrowed
Non-owning pointer storage. Only unsafe constructors or lifetime-bound generated getters can create it. It has no Clone implementation.
BusySpinIdleStrategy
Spin with a CPU pause hint. Never sleeps or yields, and does not pin a core
CResource
Shared ownership of a native allocation. Clone retains the allocation; it never copies the native object. Rust-owned values cache one additional pointer; resources that native calls can invalidate retain the shared pointer load.
CallbackSlot
Lets you replace a callback without registering another handler with Aeron.
ChannelUri
Represents the Aeron URI parser and handler.
ControlledFragmentAssembler
A controlled fragment assembler that owns its callback.
ControlledFragmentClosureHandler
A closure bound to a AeronControlledFragmentClosureAssembler for one poll call
FragmentAssembler
A fragment assembler that owns its callback.
FragmentClosureHandler
A closure bound to a AeronFragmentClosureAssembler for one poll call
Handler
A reference-counted callback that C stores and calls later.
Handlers
Constants for optional callbacks.
Inline
An initialised native value stored inline. It cannot be cloned implicitly. Borrow the wrapper while passing its address to C. Use PinnedInline when C must retain the address beyond a call.
LiveCResource
A cached pointer for native handles whose cleanup waits for the last owner. Async operations use CResource instead because C can release them early.
ManagedCResource
Owns a C resource and calls its cleanup closure when the last handle drops.
NoHandler
A type that represents an unset callback.
NoOpIdleStrategy
No-op. Never yields the core. (Aeron NoOpIdleStrategy.)
OwnedWithReference
A child pointer with an owner that keeps its allocation alive. Cloning it retains that owner. as_ref() borrows the child without a clone.
PinnedInline
Inline storage whose address stays fixed once pinned. It does not implement ResourceStorage. Getting its pointer requires Pin.
Ref
A pointer borrowed from an owner. It cannot escape that borrow or clone the owning handle. No allocation or reference-count operation is needed.
ScopedInline
An inline native result whose pointer fields borrow the queried handle.
SleepingIdleStrategy
Sleep for a fixed duration when idle. (Aeron SleepingIdleStrategy.)
YieldingIdleStrategy
Yield the OS thread when idle. Lower CPU than busy-spin, slightly higher latency. (Aeron YieldingIdleStrategy.)

Enums§

AeronCounterState
Counter metadata record states. These are not counter IDs or type IDs.
AeronCounterTypeId
Built-in counter type IDs. Application-defined IDs remain Unknown(id).
AeronDriverErrorCode
Driver protocol error codes. Use the wire value, not an offer result or a system error.
AeronErrorType
AeronIdleStrategyKind
Aeron’s named idle strategies, as accepted by the context / media-driver set_*_idle_strategy options (the C aeron_idle_strategy_load symbol table).
AeronOfferError
Typed error for offer / try_claim on a publication.
AeronStatus
High-level connection state of a publication or subscription.
AeronSystemCounterType
Aeron Media Driver system counter IDs, read from the native bindings.
ControlMode
Enum for control modes.
LocalCallback
Local state for a callback used only on the current thread.
LocalResource
Local resources may retain local callbacks and other local resources.
Media
Enum for media types.
SharedCallback
Serialized state for callbacks that can run on another thread.
SharedResource
Shared owners retain only values that can be accessed and dropped on any thread.

Constants§

AERON_DIR_PROP_NAME
AERON_IPC_MEDIA
AERON_UDP_MEDIA
DRIVER_TIMEOUT_MS_DEFAULT
MAX_OFFER_PARTS
Max buffer parts accepted by AeronPublication::offer_parts / AeronExclusivePublication::offer_parts. The aeron_iovec_t array is built on the stack, so it has a fixed capacity. Use the raw offerv with your own iovec array for larger gathers.
PUBLICATION_ADMIN_ACTION
PUBLICATION_BACK_PRESSURED
PUBLICATION_CLOSED
PUBLICATION_ERROR
PUBLICATION_MAX_POSITION_EXCEEDED
PUBLICATION_NOT_CONNECTED
Result codes returned by AeronPublication::offer / try_claim (Aeron aeronc.h). A positive value is the resulting log position; the negatives classify the failure.
SPY_PREFIX
TAG_PREFIX

Statics§

AERON_IPC_STREAM

Traits§

AcceptDependency
AeronAgentCloseFuncCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
AeronAgentDoWorkFuncCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
AeronAgentStartFuncCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
AeronAvailableCounterCallback
Function called by aeron_client_t to deliver notifications that a counter has been added to the driver.
AeronAvailableImageCallback
Function called by aeron_client_t to deliver notifications that an aeron_image_t was added.
AeronBlockHandlerCallback
Callback for handling a block of messages being read from a log.
AeronCloseClientCallback
Function called by aeron_client_t to deliver notifications that the client is closing.
AeronControlledFragmentHandlerCallback
Callback for handling fragments of data being read from a log.
AeronCountersReaderForeachCounterFuncCallback
Function called by aeron_counters_reader_foreach_counter for each counter in the aeron_counters_reader_t.
AeronErrorHandlerCallback
The error handler to be called when an error occurs.
AeronErrorLogReaderFuncCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
AeronFprintfHandlerCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
AeronFragmentHandlerCallback
Callback for handling fragments of data being read from a log.
AeronIdleStrategyFuncCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
AeronLossReporterReadEntryFuncCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
AeronNewPublicationCallback
Function called by aeron_client_t to deliver notification that the media driver has added an aeron_publication_t or aeron_exclusive_publication_t successfully.
AeronNewSubscriptionCallback
Function called by aeron_client_t to deliver notification that the media driver has added an aeron_subscription_t successfully.
AeronNotificationCallback
Generalised notification callback.
AeronPublicationErrorFrameHandlerCallback
The error frame handler to be called when the driver notifies the client about an error frame being received. The data passed to this callback will only be valid for the lifetime of the callback. The user should use aeron_publication_error_values_copy if they require the data to live longer than that.
AeronReservedValueSupplierCallback
Function called when filling in the reserved value field of a message.
AeronStrToPtrHashMapForEachFuncCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
AeronUnavailableCounterCallback
Function called by aeron_client_t to deliver notifications that a counter has been removed from the driver.
AeronUnavailableImageCallback
Function called by aeron_client_t to deliver notifications that an aeron_image_t has been removed from use and should not be used any longer.
AeronUriParseCallbackCallback
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
CallbackPolicy
Callback storage is selected at compile time. There is no trait-object call.
CopyDependencies
IdleStrategy
Back off a poll loop when the last cycle did no work. Mirrors Aeron’s IdleStrategy: idle(work_count) returns immediately when work_count > 0, otherwise spins / yields / sleeps depending on the implementation.
IntoCString
NativeResource
Native storage and cleanup policy selected by the generator.
ResourcePolicy
Storage rules for cleanup and retained dependencies.

Functions§

find_unused_udp_port
is_udp_port_available
validate_endpoint_for_aeron_udp
Validate a UDP channel URI endpoint (host:port) for use with Aeron.

Type Aliases§

AeronAgentRunnerRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronArchiveRecordingPositionKeyLayoutRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronAsyncAddCounterRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronAsyncAddExclusivePublicationRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronAsyncAddPublicationRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronAsyncAddSubscriptionRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronAsyncDestinationByIdRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronAsyncDestinationRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronAsyncGetNextAvailableSessionIdRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronAvailableCounterPairRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronBufferClaimRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronClientRegisteringResourceRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCloseClientPairRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCncConstantsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCncMetadataRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCncRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronContextRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCounterConstantsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCounterMetadataDescriptorRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCounterRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCounterValueDescriptorRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCountersReaderBuffersRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronCountersReaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronDataHeaderAsLongsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronDataHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronErrorHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronExclusivePublicationRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronFrameHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronHeaderValuesFrameRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronHeaderValuesRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronIdleStrategyRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronImageConstantsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronImageRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronIovecRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronIpcChannelParamsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronLogBufferRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronLogbufferMetadataRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronLossReporterEntryRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronLossReporterRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronMappedBufferRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronMappedFileRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronMappedRawLogRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronNakHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronOptionHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronPerThreadErrorRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronPublicationConstantsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronPublicationErrorValuesRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronPublicationRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronResolutionHeaderIpv4Ref
Non-owning form used in callbacks and lifetime-bound getters.
AeronResolutionHeaderIpv6Ref
Non-owning form used in callbacks and lifetime-bound getters.
AeronResolutionHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronResponseSetupHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronRttmHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronSetupHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronStatusMessageHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronStatusMessageOptionalHeaderRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronStrToPtrHashMapKeyRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronStrToPtrHashMapRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronSubscriptionConstantsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronSubscriptionRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronUdpChannelParamsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronUnavailableCounterPairRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronUriParamRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronUriParamsRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronUriRef
Non-owning form used in callbacks and lifetime-bound getters.
AeronUriStringBuilderRef
Non-owning form used in callbacks and lifetime-bound getters.
CleanupBox
LocalHandler
A callback for local polling or an assembler. It uses a borrow check, not a mutex.
ResourceRef
Shared ownership of a native resource. Cloning a handle never copies the C object.
SharedHandler
A callback that may be retained and called by another thread.