pub trait AeronArchiveCredentialsEncodedCredentialsSupplierFuncCallback {
// Required method
fn handle_aeron_archive_credentials_encoded_credentials_supplier_func(
&mut self,
) -> *mut aeron_archive_encoded_credentials_t;
}Expand description
Callback to return encoded credentials.
@return encoded credentials to include with the connect request
(note you must copy any arguments that you use afterwards even those with static lifetimes)
Required Methods§
fn handle_aeron_archive_credentials_encoded_credentials_supplier_func( &mut self, ) -> *mut aeron_archive_encoded_credentials_t
Implementors§
impl AeronArchiveCredentialsEncodedCredentialsSupplierFuncCallback for AeronArchiveCredentialsEncodedCredentialsSupplierFuncLogger
impl AeronArchiveCredentialsEncodedCredentialsSupplierFuncCallback for NoHandler
impl<F: FnMut() -> *mut aeron_archive_encoded_credentials_t> AeronArchiveCredentialsEncodedCredentialsSupplierFuncCallback 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: AeronArchiveCredentialsEncodedCredentialsSupplierFuncCallback> AeronArchiveCredentialsEncodedCredentialsSupplierFuncCallback for Handler<T>
Pass an existing Handler clone anywhere a callback value is expected, e.g.
to share one callback instance across several registrations.