pub enum EnsureDebhelperError {
DebhelperInWrongField(String),
ComplexDebhelperCompatRule,
DebhelperCompatWithoutVersion,
}Expand description
Error type for ensure_minimum_debhelper_version
Variants§
DebhelperInWrongField(String)
debhelper or debhelper-compat found in Build-Depends-Indep or Build-Depends-Arch
ComplexDebhelperCompatRule
Complex rule for debhelper-compat (multiple alternatives or non-equal version)
DebhelperCompatWithoutVersion
debhelper-compat without version constraint
Trait Implementations§
Source§impl Clone for EnsureDebhelperError
impl Clone for EnsureDebhelperError
Source§fn clone(&self) -> EnsureDebhelperError
fn clone(&self) -> EnsureDebhelperError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnsureDebhelperError
impl Debug for EnsureDebhelperError
Source§impl Display for EnsureDebhelperError
impl Display for EnsureDebhelperError
Source§impl Error for EnsureDebhelperError
impl Error for EnsureDebhelperError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for EnsureDebhelperError
impl PartialEq for EnsureDebhelperError
impl Eq for EnsureDebhelperError
impl StructuralPartialEq for EnsureDebhelperError
Auto Trait Implementations§
impl Freeze for EnsureDebhelperError
impl RefUnwindSafe for EnsureDebhelperError
impl Send for EnsureDebhelperError
impl Sync for EnsureDebhelperError
impl Unpin for EnsureDebhelperError
impl UnwindSafe for EnsureDebhelperError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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§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.Source§impl<E> Fail for E
impl<E> Fail for E
Source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.