Enum debian_packaging::repository::builder::PoolLayout[][src]

pub enum PoolLayout {
    ComponentThenNamePrefix,
}
Expand description

Describes the layout of the pool part of the repository.

This type effectively controls where .deb files will be placed under the repository root.

Variants

ComponentThenNamePrefix

File paths are <component>/<name_prefix>/<filename>.

This is the layout as used by the Debian distribution.

The package name is used to derive a directory prefix. For packages beginning with lib, the prefix is libz/<package>/. For everything else, it is <first character>/<package>/.

For example, file zstd_1.4.8+dfsg-2.1_amd64.deb in the main component will be mapped to pool/main/libz/libzstd/zstd_1.4.8+dfsg-2.1_amd64.deb and python3.9_3.9.9-1_arm64.deb in the main component will be mapped to pool/main/p/python3.9/python3.9_3.9.9-1_arm64.deb.

Implementations

Compute the path to a file given the source package name and its filename.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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