Skip to main content

DynamicSection

Trait DynamicSection 

Source
pub trait DynamicSection:
    Fn() -> String
    + Send
    + Sync { }
Expand description

A dynamic section generator that can be called to produce fresh content

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> DynamicSection for T
where T: Fn() -> String + Send + Sync,