pub trait AeronArchiveRecordingSubscriptionDescriptorConsumerFuncCallback {
// Required method
fn handle_aeron_archive_recording_subscription_descriptor_consumer_func(
&mut self,
recording_subscription_descriptor: &AeronArchiveRecordingSubscriptionDescriptor,
);
}Expand description
Callback to return recording subscription descriptors.
(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)
Required Methods§
fn handle_aeron_archive_recording_subscription_descriptor_consumer_func( &mut self, recording_subscription_descriptor: &AeronArchiveRecordingSubscriptionDescriptor, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl AeronArchiveRecordingSubscriptionDescriptorConsumerFuncCallback for AeronArchiveRecordingSubscriptionDescriptorConsumerFuncLogger
impl AeronArchiveRecordingSubscriptionDescriptorConsumerFuncCallback for AeronArchiveRecordingSubscriptionDescriptorConsumerFuncSlot
impl AeronArchiveRecordingSubscriptionDescriptorConsumerFuncCallback for NoHandler
impl<F: FnMut(&AeronArchiveRecordingSubscriptionDescriptor)> AeronArchiveRecordingSubscriptionDescriptorConsumerFuncCallback for F
Any closure with the matching signature is a callback: methods that retain it
heap-allocate it into a Handler owned by the registering resource.
impl<T: AeronArchiveRecordingSubscriptionDescriptorConsumerFuncCallback> AeronArchiveRecordingSubscriptionDescriptorConsumerFuncCallback for Handler<T>
Pass an existing Handler clone anywhere a callback value is expected, e.g.
to share one callback instance across several registrations.