pub struct MultiValue6<T0, T1, T2, T3, T4, T5>(pub (T0, T1, T2, T3, T4, T5));
Tuple Fields§
§0: (T0, T1, T2, T3, T4, T5)
Implementations§
Source§impl<T0, T1, T2, T3, T4, T5> MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> MultiValue6<T0, T1, T2, T3, T4, T5>
pub fn into_tuple(self) -> (T0, T1, T2, T3, T4, T5)
Trait Implementations§
Source§impl<T0, T1, T2, T3, T4, T5> Clone for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> Clone for MultiValue6<T0, T1, T2, T3, T4, T5>
Source§fn clone(&self) -> MultiValue6<T0, T1, T2, T3, T4, T5>
fn clone(&self) -> MultiValue6<T0, T1, T2, T3, T4, T5>
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<T0, T1, T2, T3, T4, T5> Debug for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> Debug for MultiValue6<T0, T1, T2, T3, T4, T5>
Source§impl<T0, T1, T2, T3, T4, T5> From<(T0, T1, T2, T3, T4, T5)> for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> From<(T0, T1, T2, T3, T4, T5)> for MultiValue6<T0, T1, T2, T3, T4, T5>
Source§fn from(tuple: (T0, T1, T2, T3, T4, T5)) -> MultiValue6<T0, T1, T2, T3, T4, T5>
fn from(tuple: (T0, T1, T2, T3, T4, T5)) -> MultiValue6<T0, T1, T2, T3, T4, T5>
Converts to this type from the input type.
Source§impl<T0, T1, T2, T3, T4, T5> PartialEq for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> PartialEq for MultiValue6<T0, T1, T2, T3, T4, T5>
Source§fn eq(&self, other: &MultiValue6<T0, T1, T2, T3, T4, T5>) -> bool
fn eq(&self, other: &MultiValue6<T0, T1, T2, T3, T4, T5>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<T0, T1, T2, T3, T4, T5> TopDecodeMulti for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopDecodeMulti,
T1: TopDecodeMulti,
T2: TopDecodeMulti,
T3: TopDecodeMulti,
T4: TopDecodeMulti,
T5: TopDecodeMulti,
impl<T0, T1, T2, T3, T4, T5> TopDecodeMulti for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopDecodeMulti,
T1: TopDecodeMulti,
T2: TopDecodeMulti,
T3: TopDecodeMulti,
T4: TopDecodeMulti,
T5: TopDecodeMulti,
fn multi_decode_or_handle_err<I, H>(
input: &mut I,
h: H,
) -> Result<MultiValue6<T0, T1, T2, T3, T4, T5>, <H as DecodeErrorHandler>::HandledErr>where
I: TopDecodeMultiInput,
H: DecodeErrorHandler,
Source§const IS_SINGLE_VALUE: bool = false
const IS_SINGLE_VALUE: bool = false
Used to optimize single value loading of endpoint arguments.
fn multi_decode<I>(input: &mut I) -> Result<Self, DecodeError>where
I: TopDecodeMultiInput,
Source§impl<T0, T1, T2, T3, T4, T5> TopDecodeMultiLength for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopDecodeMulti + TopDecodeMultiLength,
T1: TopDecodeMulti + TopDecodeMultiLength,
T2: TopDecodeMulti + TopDecodeMultiLength,
T3: TopDecodeMulti + TopDecodeMultiLength,
T4: TopDecodeMulti + TopDecodeMultiLength,
T5: TopDecodeMulti + TopDecodeMultiLength,
impl<T0, T1, T2, T3, T4, T5> TopDecodeMultiLength for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopDecodeMulti + TopDecodeMultiLength,
T1: TopDecodeMulti + TopDecodeMultiLength,
T2: TopDecodeMulti + TopDecodeMultiLength,
T3: TopDecodeMulti + TopDecodeMultiLength,
T4: TopDecodeMulti + TopDecodeMultiLength,
T5: TopDecodeMulti + TopDecodeMultiLength,
Source§impl<T0, T1, T2, T3, T4, T5> TopEncodeMulti for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopEncodeMulti,
T1: TopEncodeMulti,
T2: TopEncodeMulti,
T3: TopEncodeMulti,
T4: TopEncodeMulti,
T5: TopEncodeMulti,
impl<T0, T1, T2, T3, T4, T5> TopEncodeMulti for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopEncodeMulti,
T1: TopEncodeMulti,
T2: TopEncodeMulti,
T3: TopEncodeMulti,
T4: TopEncodeMulti,
T5: TopEncodeMulti,
Source§fn multi_encode_or_handle_err<O, H>(
&self,
output: &mut O,
h: H,
) -> Result<(), <H as EncodeErrorHandler>::HandledErr>where
O: TopEncodeMultiOutput,
H: EncodeErrorHandler,
fn multi_encode_or_handle_err<O, H>(
&self,
output: &mut O,
h: H,
) -> Result<(), <H as EncodeErrorHandler>::HandledErr>where
O: TopEncodeMultiOutput,
H: EncodeErrorHandler,
Version of
top_encode
that can handle errors as soon as they occur.
For instance in can exit immediately and make sure that if it returns, it is a success.
By not deferring error handling, this can lead to somewhat smaller bytecode.Source§fn multi_encode<O>(&self, output: &mut O) -> Result<(), EncodeError>where
O: TopEncodeMultiOutput,
fn multi_encode<O>(&self, output: &mut O) -> Result<(), EncodeError>where
O: TopEncodeMultiOutput,
Attempt to serialize the value to ouput.
Source§impl<T0, T1, T2, T3, T4, T5> TypeAbi for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> TypeAbi for MultiValue6<T0, T1, T2, T3, T4, T5>
type Unmanaged = MultiValue6<<T0 as TypeAbi>::Unmanaged, <T1 as TypeAbi>::Unmanaged, <T2 as TypeAbi>::Unmanaged, <T3 as TypeAbi>::Unmanaged, <T4 as TypeAbi>::Unmanaged, <T5 as TypeAbi>::Unmanaged>
fn type_name() -> String
fn type_name_rust() -> String
Source§fn provide_type_descriptions<TDC>(accumulator: &mut TDC)where
TDC: TypeDescriptionContainer,
fn provide_type_descriptions<TDC>(accumulator: &mut TDC)where
TDC: TypeDescriptionContainer,
A type can provide more than its own name.
For instance, a struct can also provide the descriptions of the type of its fields.
TypeAbi doesn’t care for the exact accumulator type,
which is abstracted by the TypeDescriptionContainer trait.
fn type_names() -> TypeNames
impl<T0, T1, T2, T3, T4, T5> StructuralPartialEq for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, U0, T1, U1, T2, U2, T3, U3, T4, U4, T5, U5> TypeAbiFrom<MultiValue6<U0, U1, U2, U3, U4, U5>> for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TypeAbiFrom<U0>,
T1: TypeAbiFrom<U1>,
T2: TypeAbiFrom<U2>,
T3: TypeAbiFrom<U3>,
T4: TypeAbiFrom<U4>,
T5: TypeAbiFrom<U5>,
Auto Trait Implementations§
impl<T0, T1, T2, T3, T4, T5> Freeze for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> RefUnwindSafe for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
impl<T0, T1, T2, T3, T4, T5> Send for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> Sync for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> Unpin for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> UnwindSafe for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
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 more