Skip to main content

extend_writer_factories

Function extend_writer_factories 

Source
pub fn extend_writer_factories(
    extra: impl IntoIterator<Item = (String, WriterFactory)>,
) -> Result<WriterFactoryRegistry>
Expand description

Merges user-provided writer factories into the persistence default registry.

ยงErrors

Returns an error if a user-provided name collides with an existing entry.