Skip to main content

ExtractDeps

Trait ExtractDeps 

Source
pub trait ExtractDeps {
    type DepsQueue: HeterogeneousQueue;

    // Required method
    fn extract(&self, dyn_deps: &DynDeps<Self::DepsQueue>) -> Self::DepsQueue;
}
Expand description

Serialize the dependencies of the events in the primary queue

Required Associated Types§

Required Methods§

Source

fn extract(&self, dyn_deps: &DynDeps<Self::DepsQueue>) -> Self::DepsQueue

dyn_deps holds the records of the dynamic ids that the events refer to. They are appended after the static dependencies, which they may reference.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§