Trait GroupedFinalizable
pub trait GroupedFinalizable: Finalizable {
// Required method
fn merge_finalizer_groups(&mut self, finalizers: EventFinalizerGroups);
}Expand description
A Finalizable buffer record whose grouped finalizers can be reattached after being taken.
Used to reattach finalizers to a record that is being returned for retry, such as when a
disk_v2 write is rejected because the buffer is full. Scalar records receive this behavior
automatically through MergeFinalizable. Containers that can later split into independently
finalized events must implement this trait directly to preserve each finalizer group’s owner.
Required Methods§
fn merge_finalizer_groups(&mut self, finalizers: EventFinalizerGroups)
fn merge_finalizer_groups(&mut self, finalizers: EventFinalizerGroups)
Merges grouped finalizers back into this object.