Trait vector_core::event::Finalizable

pub trait Finalizable {
    // Required method
    fn take_finalizers(&mut self) -> EventFinalizers;
}
Expand description

An object that can be finalized.

Required Methods§

fn take_finalizers(&mut self) -> EventFinalizers

Consumes the finalizers of this object.

Typically used for coalescing the finalizers of multiple items, such as when batching finalizable objects where all finalizations will be processed when the batch itself is processed.

Implementations on Foreign Types§

§

impl<T> Finalizable for Vec<T>
where T: Finalizable,

Implementors§