pub enum TupleError5<E0, E1, E2, E3, E4> {
At0(E0),
At1(E1),
At2(E2),
At3(E3),
At4(E4),
}Expand description
Transaction precondition error type for tuples of length 5.
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.
At4(E4)
Error at tuple element 4.
Trait Implementations§
Source§impl<E0: Clone, E1: Clone, E2: Clone, E3: Clone, E4: Clone> Clone for TupleError5<E0, E1, E2, E3, E4>
impl<E0: Clone, E1: Clone, E2: Clone, E3: Clone, E4: Clone> Clone for TupleError5<E0, E1, E2, E3, E4>
Source§fn clone(&self) -> TupleError5<E0, E1, E2, E3, E4>
fn clone(&self) -> TupleError5<E0, E1, E2, E3, E4>
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: Debug, E1: Debug, E2: Debug, E3: Debug, E4: Debug> Debug for TupleError5<E0, E1, E2, E3, E4>
impl<E0: Debug, E1: Debug, E2: Debug, E3: Debug, E4: Debug> Debug for TupleError5<E0, E1, E2, E3, E4>
Source§impl<E0: Display, E1: Display, E2: Display, E3: Display, E4: Display> Display for TupleError5<E0, E1, E2, E3, E4>
impl<E0: Display, E1: Display, E2: Display, E3: Display, E4: Display> Display for TupleError5<E0, E1, E2, E3, E4>
Source§impl<E0: Error, E1: Error, E2: Error, E3: Error, E4: Error> Error for TupleError5<E0, E1, E2, E3, E4>
impl<E0: Error, E1: Error, E2: Error, E3: Error, E4: Error> Error for TupleError5<E0, E1, E2, E3, E4>
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, E4: PartialEq> PartialEq for TupleError5<E0, E1, E2, E3, E4>
impl<E0: PartialEq, E1: PartialEq, E2: PartialEq, E3: PartialEq, E4: PartialEq> PartialEq for TupleError5<E0, E1, E2, E3, E4>
Source§fn eq(&self, other: &TupleError5<E0, E1, E2, E3, E4>) -> bool
fn eq(&self, other: &TupleError5<E0, E1, E2, E3, E4>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<E0: Copy, E1: Copy, E2: Copy, E3: Copy, E4: Copy> Copy for TupleError5<E0, E1, E2, E3, E4>
impl<E0: Eq, E1: Eq, E2: Eq, E3: Eq, E4: Eq> Eq for TupleError5<E0, E1, E2, E3, E4>
impl<E0, E1, E2, E3, E4> StructuralPartialEq for TupleError5<E0, E1, E2, E3, E4>
Auto Trait Implementations§
impl<E0, E1, E2, E3, E4> Freeze for TupleError5<E0, E1, E2, E3, E4>
impl<E0, E1, E2, E3, E4> RefUnwindSafe for TupleError5<E0, E1, E2, E3, E4>where
E0: RefUnwindSafe,
E1: RefUnwindSafe,
E2: RefUnwindSafe,
E3: RefUnwindSafe,
E4: RefUnwindSafe,
impl<E0, E1, E2, E3, E4> Send for TupleError5<E0, E1, E2, E3, E4>
impl<E0, E1, E2, E3, E4> Sync for TupleError5<E0, E1, E2, E3, E4>
impl<E0, E1, E2, E3, E4> Unpin for TupleError5<E0, E1, E2, E3, E4>
impl<E0, E1, E2, E3, E4> UnwindSafe for TupleError5<E0, E1, E2, E3, E4>
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.