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