Enum debian_packaging::deb::reader::ControlTarFile
source · 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>)
The control file.
Conffiles(Vec<u8>)
The conffiles file.
Triggers(Vec<u8>)
The triggers file.
Shlibs(Vec<u8>)
The shlibs file.
Symbols(Vec<u8>)
The symbols file.
Preinst(Vec<u8>)
The preinst file.
Postinst(Vec<u8>)
The postinst file.
Prerm(Vec<u8>)
The prerm file.
Postrm(Vec<u8>)
The postrm file.
Other(Vec<u8>, Vec<u8>)
An unclassified file.
First element is the path name as bytes. Second is the raw file content.
Auto Trait Implementations§
impl RefUnwindSafe for ControlTarFile
impl Send for ControlTarFile
impl Sync for ControlTarFile
impl Unpin for ControlTarFile
impl UnwindSafe for ControlTarFile
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more