pub enum OutOfBound {
TooHigh,
TooLow,
TooLowOrTooHigh,
TooOld,
Zero,
Unknown,
}
Expand description
How did whatever went wrong, go bad?
Variants§
Trait Implementations§
Source§impl Clone for OutOfBound
impl Clone for OutOfBound
Source§fn clone(&self) -> OutOfBound
fn clone(&self) -> OutOfBound
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 OutOfBound
impl Debug for OutOfBound
Source§impl<'de> Deserialize<'de> for OutOfBound
impl<'de> Deserialize<'de> for OutOfBound
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 OutOfBound
impl Display for OutOfBound
Source§impl PartialEq for OutOfBound
impl PartialEq for OutOfBound
Source§impl Serialize for OutOfBound
impl Serialize for OutOfBound
impl Copy for OutOfBound
impl StructuralPartialEq for OutOfBound
Auto Trait Implementations§
impl Freeze for OutOfBound
impl RefUnwindSafe for OutOfBound
impl Send for OutOfBound
impl Sync for OutOfBound
impl Unpin for OutOfBound
impl UnwindSafe for OutOfBound
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> 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 moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more