pub enum TupleError4<E0, E1, E2, E3> {
At0(E0),
At1(E1),
At2(E2),
At3(E3),
}Expand description
Transaction precondition error type for tuples of length 4.
Variants§
At0(E0)
Error at tuple element 0.
At1(E1)
Error at tuple element 1.
At2(E2)
Error at tuple element 2.
At3(E3)
Error at tuple element 3.
Trait Implementations§
Source§impl<E0: Clone, E1: Clone, E2: Clone, E3: Clone> Clone for TupleError4<E0, E1, E2, E3>
impl<E0: Clone, E1: Clone, E2: Clone, E3: Clone> Clone for TupleError4<E0, E1, E2, E3>
Source§fn clone(&self) -> TupleError4<E0, E1, E2, E3>
fn clone(&self) -> TupleError4<E0, E1, E2, E3>
Returns a duplicate 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<E0: Display, E1: Display, E2: Display, E3: Display> Display for TupleError4<E0, E1, E2, E3>
impl<E0: Display, E1: Display, E2: Display, E3: Display> Display for TupleError4<E0, E1, E2, E3>
Source§impl<E0: Error, E1: Error, E2: Error, E3: Error> Error for TupleError4<E0, E1, E2, E3>
impl<E0: Error, E1: Error, E2: Error, E3: Error> Error for TupleError4<E0, E1, E2, E3>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<E0: PartialEq, E1: PartialEq, E2: PartialEq, E3: PartialEq> PartialEq for TupleError4<E0, E1, E2, E3>
impl<E0: PartialEq, E1: PartialEq, E2: PartialEq, E3: PartialEq> PartialEq for TupleError4<E0, E1, E2, E3>
impl<E0: Copy, E1: Copy, E2: Copy, E3: Copy> Copy for TupleError4<E0, E1, E2, E3>
impl<E0: Eq, E1: Eq, E2: Eq, E3: Eq> Eq for TupleError4<E0, E1, E2, E3>
impl<E0, E1, E2, E3> StructuralPartialEq for TupleError4<E0, E1, E2, E3>
Auto Trait Implementations§
impl<E0, E1, E2, E3> Freeze for TupleError4<E0, E1, E2, E3>
impl<E0, E1, E2, E3> RefUnwindSafe for TupleError4<E0, E1, E2, E3>
impl<E0, E1, E2, E3> Send for TupleError4<E0, E1, E2, E3>
impl<E0, E1, E2, E3> Sync for TupleError4<E0, E1, E2, E3>
impl<E0, E1, E2, E3> Unpin for TupleError4<E0, E1, E2, E3>
impl<E0, E1, E2, E3> UnwindSafe for TupleError4<E0, E1, E2, E3>
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> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.