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 you must copy any arguments that you use afterwards even those with static lifetimes)
Required Methods§
fn handle_aeron_archive_recording_subscription_descriptor_consumer_func( &mut self, recording_subscription_descriptor: AeronArchiveRecordingSubscriptionDescriptor, )
Implementors§
impl AeronArchiveRecordingSubscriptionDescriptorConsumerFuncCallback for AeronArchiveRecordingSubscriptionDescriptorConsumerFuncLogger
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.