Enum tlua::TuplePushError
source · pub enum TuplePushError<C, O> {
First(C),
Other(O),
}
Expand description
Error that can happen when pushing multiple values at once.
Variants§
Implementations§
Trait Implementations§
source§impl<C: Clone, O: Clone> Clone for TuplePushError<C, O>
impl<C: Clone, O: Clone> Clone for TuplePushError<C, O>
source§fn clone(&self) -> TuplePushError<C, O>
fn clone(&self) -> TuplePushError<C, O>
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<H, T> Display for TuplePushError<H, T>
impl<H, T> Display for TuplePushError<H, T>
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M> From<TuplePushError<A, TuplePushError<B, TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>>>> for Void
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> From<TuplePushError<A, TuplePushError<B, TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>>>> for Void
source§fn from(
_: TuplePushError<A, TuplePushError<B, TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>>>
) -> Void
fn from( _: TuplePushError<A, TuplePushError<B, TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>>> ) -> Void
Converts to this type from the input type.
source§impl<B, C, D, E, F, G, H, I, J, K, L, M> From<TuplePushError<B, TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>>> for Void
impl<B, C, D, E, F, G, H, I, J, K, L, M> From<TuplePushError<B, TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>>> for Void
source§fn from(
_: TuplePushError<B, TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>>
) -> Void
fn from( _: TuplePushError<B, TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>> ) -> Void
Converts to this type from the input type.
source§impl<C, D, E, F, G, H, I, J, K, L, M> From<TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>> for Void
impl<C, D, E, F, G, H, I, J, K, L, M> From<TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>> for Void
source§fn from(
_: TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>>
) -> Void
fn from( _: TuplePushError<C, TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>> ) -> Void
Converts to this type from the input type.
source§impl<D, E, F, G, H, I, J, K, L, M> From<TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>> for Void
impl<D, E, F, G, H, I, J, K, L, M> From<TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>> for Void
source§fn from(
_: TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>>
) -> Void
fn from( _: TuplePushError<D, TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>> ) -> Void
Converts to this type from the input type.
source§impl<E, F, G, H, I, J, K, L, M> From<TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>> for Void
impl<E, F, G, H, I, J, K, L, M> From<TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>> for Void
source§fn from(
_: TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>>
) -> Void
fn from( _: TuplePushError<E, TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>> ) -> Void
Converts to this type from the input type.
source§impl<F, G, H, I, J, K, L, M> From<TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>> for Void
impl<F, G, H, I, J, K, L, M> From<TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>> for Void
source§fn from(
_: TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>>
) -> Void
fn from( _: TuplePushError<F, TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>> ) -> Void
Converts to this type from the input type.
source§impl<G, H, I, J, K, L, M> From<TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>> for Void
impl<G, H, I, J, K, L, M> From<TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>> for Void
source§fn from(
_: TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>>
) -> Void
fn from( _: TuplePushError<G, TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>> ) -> Void
Converts to this type from the input type.
source§impl<H, I, J, K, L, M> From<TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>> for Void
impl<H, I, J, K, L, M> From<TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>> for Void
source§fn from(
_: TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>>
) -> Void
fn from( _: TuplePushError<H, TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>> ) -> Void
Converts to this type from the input type.
source§impl<I, J, K, L, M> From<TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>> for Void
impl<I, J, K, L, M> From<TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>> for Void
source§fn from(
_: TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>>
) -> Void
fn from( _: TuplePushError<I, TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>> ) -> Void
Converts to this type from the input type.
source§impl<J, K, L, M> From<TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>> for Void
impl<J, K, L, M> From<TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>> for Void
source§fn from(
_: TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>>
) -> Void
fn from( _: TuplePushError<J, TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>> ) -> Void
Converts to this type from the input type.
source§impl<K, L, M> From<TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>> for Void
impl<K, L, M> From<TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>> for Void
source§fn from(
_: TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>>
) -> Void
fn from( _: TuplePushError<K, TuplePushError<L, TuplePushError<M, Void>>> ) -> Void
Converts to this type from the input type.
source§impl<L, M> From<TuplePushError<L, TuplePushError<M, Void>>> for Void
impl<L, M> From<TuplePushError<L, TuplePushError<M, Void>>> for Void
source§fn from(_: TuplePushError<L, TuplePushError<M, Void>>) -> Void
fn from(_: TuplePushError<L, TuplePushError<M, Void>>) -> Void
Converts to this type from the input type.
source§impl<C: PartialEq, O: PartialEq> PartialEq for TuplePushError<C, O>
impl<C: PartialEq, O: PartialEq> PartialEq for TuplePushError<C, O>
source§fn eq(&self, other: &TuplePushError<C, O>) -> bool
fn eq(&self, other: &TuplePushError<C, O>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<C: Copy, O: Copy> Copy for TuplePushError<C, O>
impl<C: Eq, O: Eq> Eq for TuplePushError<C, O>
impl<C, O> StructuralEq for TuplePushError<C, O>
impl<C, O> StructuralPartialEq for TuplePushError<C, O>
Auto Trait Implementations§
impl<C, O> RefUnwindSafe for TuplePushError<C, O>where
C: RefUnwindSafe,
O: RefUnwindSafe,
impl<C, O> Send for TuplePushError<C, O>
impl<C, O> Sync for TuplePushError<C, O>
impl<C, O> Unpin for TuplePushError<C, O>
impl<C, O> UnwindSafe for TuplePushError<C, O>where
C: UnwindSafe,
O: UnwindSafe,
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