pub trait UnableToDecryptHook: Debug + Send + Sync {
// Required method
fn on_utd(&self, info: UnableToDecryptInfo);
}
Expand description
A generic interface which methods get called whenever we observe a unable-to-decrypt (UTD) event.
Required Methods§
sourcefn on_utd(&self, info: UnableToDecryptInfo)
fn on_utd(&self, info: UnableToDecryptInfo)
Called every time the hook observes an encrypted event that couldn’t be decrypted.
If the hook manager was configured with a max delay, this could also
contain extra information for late-decrypted events. See details in
UnableToDecryptInfo::time_to_decrypt
.