Enum debian_packaging::deb::reader::ControlTarFile[][src]

pub enum ControlTarFile {
    Control(BinaryPackageControlFile<'static>),
    Conffiles(Vec<u8>),
    Triggers(Vec<u8>),
    Shlibs(Vec<u8>),
    Symbols(Vec<u8>),
    Preinst(Vec<u8>),
    Postinst(Vec<u8>),
    Prerm(Vec<u8>),
    Postrm(Vec<u8>),
    Other(Vec<u8>, Vec<u8>),
}
Expand description

Represents a parsed file in a control.tar archive.

Each variant encodes a known file in a control.tar archive.

Variants

Control(BinaryPackageControlFile<'static>)

Tuple Fields

The control file.

Conffiles(Vec<u8>)

Tuple Fields

0: Vec<u8>

The conffiles file.

Triggers(Vec<u8>)

Tuple Fields

0: Vec<u8>

The triggers file.

Shlibs(Vec<u8>)

Tuple Fields

0: Vec<u8>

The shlibs file.

Symbols(Vec<u8>)

Tuple Fields

0: Vec<u8>

The symbols file.

Preinst(Vec<u8>)

Tuple Fields

0: Vec<u8>

The preinst file.

Postinst(Vec<u8>)

Tuple Fields

0: Vec<u8>

The postinst file.

Prerm(Vec<u8>)

Tuple Fields

0: Vec<u8>

The prerm file.

Postrm(Vec<u8>)

Tuple Fields

0: Vec<u8>

The postrm file.

Other(Vec<u8>, Vec<u8>)

Tuple Fields

0: Vec<u8>
1: Vec<u8>

An unclassified file.

First element is the path name as bytes. Second is the raw file content.

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 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