pub struct BinNMU<'a> { /* private fields */ }
Expand description
Builder to create a nmu
command
Implementations§
Source§impl<'a> BinNMU<'a>
impl<'a> BinNMU<'a>
Sourcepub fn new(
source: &'a SourceSpecifier<'a>,
message: &'a str,
) -> Result<Self, Error>
pub fn new( source: &'a SourceSpecifier<'a>, message: &'a str, ) -> Result<Self, Error>
Create a new nmu
command for the given source
.
Sourcepub fn with_nmu_version(&mut self, version: u32) -> &mut Self
pub fn with_nmu_version(&mut self, version: u32) -> &mut Self
Specify the binNMU version. If not set, wb
tries to auto-detect the binNMU version.
Sourcepub fn with_extra_depends(&mut self, extra_depends: &'a str) -> &mut Self
pub fn with_extra_depends(&mut self, extra_depends: &'a str) -> &mut Self
Specify extra dependencies.
Sourcepub fn with_build_priority(&mut self, priority: i32) -> &mut Self
pub fn with_build_priority(&mut self, priority: i32) -> &mut Self
Specify build priority. If not set, the build priority will not be changed.
Sourcepub fn with_dependency_wait(&mut self, dw: &'a str) -> &mut Self
pub fn with_dependency_wait(&mut self, dw: &'a str) -> &mut Self
Specify dependency-wait. If not set, no dependency-wait will be set.
Trait Implementations§
impl<'a> Eq for BinNMU<'a>
impl<'a> StructuralPartialEq for BinNMU<'a>
Auto Trait Implementations§
impl<'a> Freeze for BinNMU<'a>
impl<'a> RefUnwindSafe for BinNMU<'a>
impl<'a> Send for BinNMU<'a>
impl<'a> Sync for BinNMU<'a>
impl<'a> Unpin for BinNMU<'a>
impl<'a> UnwindSafe for BinNMU<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.