Enum debian_packaging::repository::builder::PoolLayout
source · [−]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
Trait Implementations
sourceimpl Clone for PoolLayout
impl Clone for PoolLayout
sourcefn clone(&self) -> PoolLayout
fn clone(&self) -> PoolLayout
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PoolLayout
impl Debug for PoolLayout
sourceimpl Default for PoolLayout
impl Default for PoolLayout
impl Copy for PoolLayout
Auto Trait Implementations
impl RefUnwindSafe for PoolLayout
impl Send for PoolLayout
impl Sync for PoolLayout
impl Unpin for PoolLayout
impl UnwindSafe for PoolLayout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more