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 FetchRetries
impl<'de> Deserialize<'de> for FetchRetries
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 for FetchRetries
impl PartialEq 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<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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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.