pub enum FetchFailureReason {
Internal,
OutOfSpace,
}
Variants§
Trait Implementations§
Source§impl Arbitrary for FetchFailureReason
impl Arbitrary for FetchFailureReason
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> FetchFailureReason>), (u32, Arc<fn() -> FetchFailureReason>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> FetchFailureReason>), (u32, Arc<fn() -> FetchFailureReason>))>
The type of
Strategy
used to generate values of type Self
.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for FetchFailureReason
impl Clone for FetchFailureReason
Source§fn clone(&self) -> FetchFailureReason
fn clone(&self) -> FetchFailureReason
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 FetchFailureReason
impl Debug for FetchFailureReason
Source§impl<'de> Deserialize<'de> for FetchFailureReason
impl<'de> Deserialize<'de> for FetchFailureReason
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 From<FetchFailureReason> for FetchFailureReason
impl From<FetchFailureReason> for FetchFailureReason
Source§fn from(reason: FetchFailureReason) -> Self
fn from(reason: FetchFailureReason) -> Self
Converts to this type from the input type.
Source§impl From<FetchFailureReason> for FetchFailureReason
impl From<FetchFailureReason> for FetchFailureReason
Source§fn from(reason: FetchFailureReason) -> Self
fn from(reason: FetchFailureReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FetchFailureReason
impl PartialEq for FetchFailureReason
Source§impl Serialize for FetchFailureReason
impl Serialize for FetchFailureReason
impl Copy for FetchFailureReason
impl StructuralPartialEq for FetchFailureReason
Auto Trait Implementations§
impl Freeze for FetchFailureReason
impl RefUnwindSafe for FetchFailureReason
impl Send for FetchFailureReason
impl Sync for FetchFailureReason
impl Unpin for FetchFailureReason
impl UnwindSafe for FetchFailureReason
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)