pub struct ControlArchiveBuilder<'l, W: Write> { /* private fields */ }Implementations§
Source§impl<'l, W: Write> ControlArchiveBuilder<'l, W>
impl<'l, W: Write> ControlArchiveBuilder<'l, W>
pub fn new(dest: W, time: u64, listener: &'l dyn Listener) -> Self
Sourcepub fn generate_archive(
&mut self,
config: &BuildEnvironment,
package_deb: &PackageConfig,
) -> CDResult<()>
pub fn generate_archive( &mut self, config: &BuildEnvironment, package_deb: &PackageConfig, ) -> CDResult<()>
Generates an uncompressed tar archive with control, and others
pub fn finish(self) -> CDResult<W>
Auto Trait Implementations§
impl<'l, W> Freeze for ControlArchiveBuilder<'l, W>where
W: Freeze,
impl<'l, W> !RefUnwindSafe for ControlArchiveBuilder<'l, W>
impl<'l, W> Send for ControlArchiveBuilder<'l, W>where
W: Send,
impl<'l, W> Sync for ControlArchiveBuilder<'l, W>where
W: Sync,
impl<'l, W> Unpin for ControlArchiveBuilder<'l, W>where
W: Unpin,
impl<'l, W> !UnwindSafe for ControlArchiveBuilder<'l, W>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more