pub struct ErrorSource { /* private fields */ }Expand description
Where the error occurred
Implementations§
Source§impl ErrorSource
impl ErrorSource
Trait Implementations§
Source§impl Clone for ErrorSource
impl Clone for ErrorSource
Source§fn clone(&self) -> ErrorSource
fn clone(&self) -> ErrorSource
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 Debug for ErrorSource
impl Debug for ErrorSource
Source§impl Default for ErrorSource
impl Default for ErrorSource
Source§impl Display for ErrorSource
impl Display for ErrorSource
Source§impl PartialEq for ErrorSource
impl PartialEq for ErrorSource
impl Copy for ErrorSource
impl Eq for ErrorSource
impl StructuralPartialEq for ErrorSource
Auto Trait Implementations§
impl Freeze for ErrorSource
impl RefUnwindSafe for ErrorSource
impl Send for ErrorSource
impl Sync for ErrorSource
impl Unpin for ErrorSource
impl UnwindSafe for ErrorSource
Blanket Implementations§
Source§impl<Acc, A> AccountValidate<(A,)> for Accwhere
Acc: AccountValidate<A>,
impl<Acc, A> AccountValidate<(A,)> for Accwhere
Acc: AccountValidate<A>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A,), ) -> Result<(), Error>
Source§impl<Acc, A, B> AccountValidate<(A, B)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B>,
impl<Acc, A, B> AccountValidate<(A, B)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B), ) -> Result<(), Error>
Source§impl<Acc, A, B, C> AccountValidate<(A, B, C)> for Acc
impl<Acc, A, B, C> AccountValidate<(A, B, C)> for Acc
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D> AccountValidate<(A, B, C, D)> for Acc
impl<Acc, A, B, C, D> AccountValidate<(A, B, C, D)> for Acc
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E> AccountValidate<(A, B, C, D, E)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E>,
impl<Acc, A, B, C, D, E> AccountValidate<(A, B, C, D, E)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F> AccountValidate<(A, B, C, D, E, F)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F>,
impl<Acc, A, B, C, D, E, F> AccountValidate<(A, B, C, D, E, F)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G> AccountValidate<(A, B, C, D, E, F, G)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G>,
impl<Acc, A, B, C, D, E, F, G> AccountValidate<(A, B, C, D, E, F, G)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H> AccountValidate<(A, B, C, D, E, F, G, H)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H>,
impl<Acc, A, B, C, D, E, F, G, H> AccountValidate<(A, B, C, D, E, F, G, H)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H, I> AccountValidate<(A, B, C, D, E, F, G, H, I)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I>,
impl<Acc, A, B, C, D, E, F, G, H, I> AccountValidate<(A, B, C, D, E, F, G, H, I)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H, I), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H, I, J> AccountValidate<(A, B, C, D, E, F, G, H, I, J)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J>,
impl<Acc, A, B, C, D, E, F, G, H, I, J> AccountValidate<(A, B, C, D, E, F, G, H, I, J)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H, I, J), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H, I, J, K> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K>,
impl<Acc, A, B, C, D, E, F, G, H, I, J, K> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H, I, J, K), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L>,
impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H, I, J, K, L), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L, M> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L, M)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L> + AccountValidate<M>,
impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L, M> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L, M)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L> + AccountValidate<M>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H, I, J, K, L, M), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L, M, N> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L> + AccountValidate<M> + AccountValidate<N>,
impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L, M, N> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L> + AccountValidate<M> + AccountValidate<N>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H, I, J, K, L, M, N), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L> + AccountValidate<M> + AccountValidate<N> + AccountValidate<O>,
impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L> + AccountValidate<M> + AccountValidate<N> + AccountValidate<O>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), ) -> Result<(), Error>
Source§impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L> + AccountValidate<M> + AccountValidate<N> + AccountValidate<O> + AccountValidate<P>,
impl<Acc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> AccountValidate<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> for Accwhere
Acc: AccountValidate<A> + AccountValidate<B> + AccountValidate<C> + AccountValidate<D> + AccountValidate<E> + AccountValidate<F> + AccountValidate<G> + AccountValidate<H> + AccountValidate<I> + AccountValidate<J> + AccountValidate<K> + AccountValidate<L> + AccountValidate<M> + AccountValidate<N> + AccountValidate<O> + AccountValidate<P>,
fn validate_account( self_ref: &<Acc as UnsizedType>::Ptr, arg: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), ) -> Result<(), Error>
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<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<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§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.