#[non_exhaustive]
pub enum Out {
    Fs {
        output_path: PathBuf,
        serializer: Box<dyn AbstractSerializer + Sync>,
        overwrite: bool,
        fingerprint: bool,
    },
    Blob(Box<dyn Write + Sync>),
    Module {
        mod_directory: PathBuf,
        pretty: bool,
        insert_feature_gates: bool,
        use_separate_crates: bool,
    },
}
Expand description

The output format.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

Fs

Fields

output_path: PathBuf

The root path.

serializer: Box<dyn AbstractSerializer + Sync>

The serialization format. See icu_provider_fs::export::serializers.

overwrite: bool

Whether to overwrite existing data.

fingerprint: bool

Whether to create a fingerprint file with SHA2 hashes

Output to a file system tree

Blob(Box<dyn Write + Sync>)

Output as a postcard blob to the given sink.

Module

Fields

mod_directory: PathBuf

The directory of the generated module.

pretty: bool

Whether to run rustfmt on the generated files.

insert_feature_gates: bool

Whether to gate each key on its crate name. This allows using the module even if some keys are not required and their dependencies are not included. Requires use_separate_crates.

use_separate_crates: bool

Whether to use separate crates to name types instead of the icu metacrate

Output a module at the given location.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Deserializes using the given deserializer

Creates a filterable data provider with the given name for debugging. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type for metadata in pointers and references to Self.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more