Skip to main content

set_reader

Function set_reader 

Source
pub fn set_reader(
    reader: &'static dyn Reader,
) -> Result<(), &'static dyn Reader>
Expand description

Installs reader for every load in this process that does not name one.

Call it before the first init().

§Errors

If one is already installed. The rejected reader is returned, so a caller can tell “already set” from “failed”.