pub enum Certainty {
Possible,
Likely,
Confident,
Certain,
}Expand description
Re-export so library consumers (e.g. an LSP host) don’t have to
add a direct debian-analyzer dep just to spell the certainty
parameter to detect_multiarch_hints.
Certainty of a change.
Variants§
Possible
Possible change, basically a guess
Likely
Likely to be correct, but not certain
Confident
Confident change, but not absolutely certain
Certain
Absolutely certain change
Trait Implementations§
impl Copy for Certainty
Source§impl<'de> Deserialize<'de> for Certainty
impl<'de> Deserialize<'de> for Certainty
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Certainty, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Certainty, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Certainty
Source§impl FromPyObject<'_, '_> for Certainty
Available on crate feature python only.
impl FromPyObject<'_, '_> for Certainty
Available on crate feature
python only.Source§impl<'py> IntoPyObject<'py> for Certainty
Available on crate feature python only.
impl<'py> IntoPyObject<'py> for Certainty
Available on crate feature
python only.Source§type Output = Bound<'py, <Certainty as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <Certainty as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<Certainty as IntoPyObject<'py>>::Output, <Certainty as IntoPyObject<'py>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<Certainty as IntoPyObject<'py>>::Output, <Certainty as IntoPyObject<'py>>::Error>
Performs the conversion.
Source§impl Ord for Certainty
impl Ord for Certainty
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Certainty
impl PartialOrd for Certainty
Source§impl Serialize for Certainty
impl Serialize for Certainty
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Certainty
Auto Trait Implementations§
impl Freeze for Certainty
impl RefUnwindSafe for Certainty
impl Send for Certainty
impl Sync for Certainty
impl Unpin for Certainty
impl UnsafeUnpin for Certainty
impl UnwindSafe for Certainty
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.impl<'py, T> FromPyObjectOwned<'py> for Twhere
T: for<'a> FromPyObject<'a, 'py>,
Source§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<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information.