pub type EncodingOverride<'a> = Option<&'a dyn Fn(&str) -> Cow<'_, [u8]>>;

Aliased Type§

enum EncodingOverride<'a> {
    None,
    Some(&'a dyn Fn(&str) -> Cow<'_, [u8]>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(&'a dyn Fn(&str) -> Cow<'_, [u8]>)

Some value of type T.