Enum tlua::PushIterError
source · pub enum PushIterError<E> {
TooManyValues(i32),
ValuePushError(E),
}Variants§
Implementations§
source§impl<E> PushIterError<E>
impl<E> PushIterError<E>
pub fn map<F, R>(self, f: F) -> PushIterError<R>where F: FnOnce(E) -> R,
Trait Implementations§
source§impl<E: Debug> Debug for PushIterError<E>
impl<E: Debug> Debug for PushIterError<E>
source§impl<E> Display for PushIterError<E>where
E: Display,
impl<E> Display for PushIterError<E>where E: Display,
source§impl<K, V> From<PushIterError<TuplePushError<K, TuplePushError<V, Void>>>> for Voidwhere
K: Into<Void>,
V: Into<Void>,
impl<K, V> From<PushIterError<TuplePushError<K, TuplePushError<V, Void>>>> for Voidwhere K: Into<Void>, V: Into<Void>,
source§fn from(_: PushIterError<TuplePushError<K, TuplePushError<V, Void>>>) -> Self
fn from(_: PushIterError<TuplePushError<K, TuplePushError<V, Void>>>) -> Self
Converts to this type from the input type.
source§impl<T> From<PushIterError<TuplePushError<T, Void>>> for Voidwhere
T: Into<Void>,
impl<T> From<PushIterError<TuplePushError<T, Void>>> for Voidwhere T: Into<Void>,
source§fn from(_: PushIterError<TuplePushError<T, Void>>) -> Self
fn from(_: PushIterError<TuplePushError<T, Void>>) -> Self
Converts to this type from the input type.
source§impl From<PushIterError<Void>> for Void
impl From<PushIterError<Void>> for Void
source§fn from(_: PushIterError<Void>) -> Self
fn from(_: PushIterError<Void>) -> Self
Converts to this type from the input type.
source§impl<E: PartialEq> PartialEq<PushIterError<E>> for PushIterError<E>
impl<E: PartialEq> PartialEq<PushIterError<E>> for PushIterError<E>
source§fn eq(&self, other: &PushIterError<E>) -> bool
fn eq(&self, other: &PushIterError<E>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<E: Eq> Eq for PushIterError<E>
impl<E> StructuralEq for PushIterError<E>
impl<E> StructuralPartialEq for PushIterError<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for PushIterError<E>where E: RefUnwindSafe,
impl<E> Send for PushIterError<E>where E: Send,
impl<E> Sync for PushIterError<E>where E: Sync,
impl<E> Unpin for PushIterError<E>where E: Unpin,
impl<E> UnwindSafe for PushIterError<E>where E: 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