pub enum PrepareFailureReason {
Internal,
OutOfSpace,
UnsupportedDowngrade,
}
Variants§
Trait Implementations§
Source§impl Arbitrary for PrepareFailureReason
impl Arbitrary for PrepareFailureReason
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() -> PrepareFailureReason>), (u32, Arc<fn() -> PrepareFailureReason>), (u32, Arc<fn() -> PrepareFailureReason>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> PrepareFailureReason>), (u32, Arc<fn() -> PrepareFailureReason>), (u32, Arc<fn() -> PrepareFailureReason>))>
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 PrepareFailureReason
impl Clone for PrepareFailureReason
Source§fn clone(&self) -> PrepareFailureReason
fn clone(&self) -> PrepareFailureReason
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 PrepareFailureReason
impl Debug for PrepareFailureReason
Source§impl<'de> Deserialize<'de> for PrepareFailureReason
impl<'de> Deserialize<'de> for PrepareFailureReason
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<PrepareFailureReason> for PrepareFailureReason
impl From<PrepareFailureReason> for PrepareFailureReason
Source§fn from(reason: PrepareFailureReason) -> Self
fn from(reason: PrepareFailureReason) -> Self
Converts to this type from the input type.
Source§impl From<PrepareFailureReason> for PrepareFailureReason
impl From<PrepareFailureReason> for PrepareFailureReason
Source§fn from(reason: PrepareFailureReason) -> Self
fn from(reason: PrepareFailureReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrepareFailureReason
impl PartialEq for PrepareFailureReason
Source§impl Serialize for PrepareFailureReason
impl Serialize for PrepareFailureReason
impl Copy for PrepareFailureReason
impl StructuralPartialEq for PrepareFailureReason
Auto Trait Implementations§
impl Freeze for PrepareFailureReason
impl RefUnwindSafe for PrepareFailureReason
impl Send for PrepareFailureReason
impl Sync for PrepareFailureReason
impl Unpin for PrepareFailureReason
impl UnwindSafe for PrepareFailureReason
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more