Enum libcoreinst::cmdline::FetchRetries
source · pub enum FetchRetries {
Infinite,
Finite(NonZeroU32),
None,
}Variants§
Trait Implementations§
source§impl Clone for FetchRetries
impl Clone for FetchRetries
source§fn clone(&self) -> FetchRetries
fn clone(&self) -> FetchRetries
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FetchRetries
impl Debug for FetchRetries
source§impl Default for FetchRetries
impl Default for FetchRetries
source§impl<'de> Deserialize<'de> for FetchRetrieswhere
Self: FromStr,
<Self as FromStr>::Err: Display,
impl<'de> Deserialize<'de> for FetchRetrieswhere Self: FromStr, <Self as FromStr>::Err: Display,
source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for FetchRetries
impl Display for FetchRetries
source§impl FromStr for FetchRetries
impl FromStr for FetchRetries
source§impl PartialEq<FetchRetries> for FetchRetries
impl PartialEq<FetchRetries> for FetchRetries
source§fn eq(&self, other: &FetchRetries) -> bool
fn eq(&self, other: &FetchRetries) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FetchRetrieswhere
Self: Display,
impl Serialize for FetchRetrieswhere Self: Display,
impl Copy for FetchRetries
impl Eq for FetchRetries
impl StructuralEq for FetchRetries
impl StructuralPartialEq for FetchRetries
Auto Trait Implementations§
impl RefUnwindSafe for FetchRetries
impl Send for FetchRetries
impl Sync for FetchRetries
impl Unpin for FetchRetries
impl UnwindSafe for FetchRetries
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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<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>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.