pub struct MultiValue4<T0, T1, T2, T3>(pub (T0, T1, T2, T3));
Tuple Fields§
§0: (T0, T1, T2, T3)
Implementations§
Source§impl<T0, T1, T2, T3> MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> MultiValue4<T0, T1, T2, T3>
pub fn into_tuple(self) -> (T0, T1, T2, T3)
Trait Implementations§
Source§impl<T0, T1, T2, T3> Clone for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> Clone for MultiValue4<T0, T1, T2, T3>
Source§fn clone(&self) -> MultiValue4<T0, T1, T2, T3>
fn clone(&self) -> MultiValue4<T0, T1, T2, T3>
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> Debug for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> Debug for MultiValue4<T0, T1, T2, T3>
Source§impl<T0, T1, T2, T3> From<(T0, T1, T2, T3)> for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> From<(T0, T1, T2, T3)> for MultiValue4<T0, T1, T2, T3>
Source§fn from(tuple: (T0, T1, T2, T3)) -> MultiValue4<T0, T1, T2, T3>
fn from(tuple: (T0, T1, T2, T3)) -> MultiValue4<T0, T1, T2, T3>
Converts to this type from the input type.
Source§impl<T0, T1, T2, T3> PartialEq for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> PartialEq for MultiValue4<T0, T1, T2, T3>
Source§impl<T0, T1, T2, T3> TopDecodeMulti for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> TopDecodeMulti for MultiValue4<T0, T1, T2, T3>
fn multi_decode_or_handle_err<I, H>(
input: &mut I,
h: H,
) -> Result<MultiValue4<T0, T1, T2, T3>, <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> TopDecodeMultiLength for MultiValue4<T0, T1, T2, T3>where
T0: TopDecodeMulti + TopDecodeMultiLength,
T1: TopDecodeMulti + TopDecodeMultiLength,
T2: TopDecodeMulti + TopDecodeMultiLength,
T3: TopDecodeMulti + TopDecodeMultiLength,
impl<T0, T1, T2, T3> TopDecodeMultiLength for MultiValue4<T0, T1, T2, T3>where
T0: TopDecodeMulti + TopDecodeMultiLength,
T1: TopDecodeMulti + TopDecodeMultiLength,
T2: TopDecodeMulti + TopDecodeMultiLength,
T3: TopDecodeMulti + TopDecodeMultiLength,
Source§impl<T0, T1, T2, T3> TopEncodeMulti for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> TopEncodeMulti for MultiValue4<T0, T1, T2, T3>
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> TypeAbi for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> TypeAbi for MultiValue4<T0, T1, T2, T3>
type Unmanaged = MultiValue4<<T0 as TypeAbi>::Unmanaged, <T1 as TypeAbi>::Unmanaged, <T2 as TypeAbi>::Unmanaged, <T3 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> StructuralPartialEq for MultiValue4<T0, T1, T2, T3>
impl<T0, U0, T1, U1, T2, U2, T3, U3> TypeAbiFrom<MultiValue4<U0, U1, U2, U3>> for MultiValue4<T0, T1, T2, T3>
Auto Trait Implementations§
impl<T0, T1, T2, T3> Freeze for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> RefUnwindSafe for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> Send for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> Sync for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> Unpin for MultiValue4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> UnwindSafe for MultiValue4<T0, T1, T2, T3>
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