Struct wasm_tokio::cm::TupleEncoder

source ·
pub struct TupleEncoder<T>(pub T);

Tuple Fields§

§0: T

Trait Implementations§

source§

impl<T: Clone> Clone for TupleEncoder<T>

source§

fn clone(&self) -> TupleEncoder<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for TupleEncoder<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<C0> Default for TupleEncoder<(C0,)>
where C0: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1> Default for TupleEncoder<(C0, C1)>
where C0: Default, C1: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2> Default for TupleEncoder<(C0, C1, C2)>
where C0: Default, C1: Default, C2: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3> Default for TupleEncoder<(C0, C1, C2, C3)>
where C0: Default, C1: Default, C2: Default, C3: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4> Default for TupleEncoder<(C0, C1, C2, C3, C4)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default, C10: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default, C10: Default, C11: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default, C10: Default, C11: Default, C12: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default, C10: Default, C11: Default, C12: Default, C13: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default, C10: Default, C11: Default, C12: Default, C13: Default, C14: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15> Default for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15)>
where C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default, C10: Default, C11: Default, C12: Default, C13: Default, C14: Default, C15: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'a, E, V0, C0> Encoder<&'a (V0,)> for TupleEncoder<(C0,)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0): &'a (V0,), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1> Encoder<&'a (V0, V1)> for TupleEncoder<(C0, C1)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1): &'a (V0, V1), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2> Encoder<&'a (V0, V1, V2)> for TupleEncoder<(C0, C1, C2)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2): &'a (V0, V1, V2), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3> Encoder<&'a (V0, V1, V2, V3)> for TupleEncoder<(C0, C1, C2, C3)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3): &'a (V0, V1, V2, V3), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4> Encoder<&'a (V0, V1, V2, V3, V4)> for TupleEncoder<(C0, C1, C2, C3, C4)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4): &'a (V0, V1, V2, V3, V4), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5> Encoder<&'a (V0, V1, V2, V3, V4, V5)> for TupleEncoder<(C0, C1, C2, C3, C4, C5)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5): &'a (V0, V1, V2, V3, V4, V5), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6): &'a (V0, V1, V2, V3, V4, V5, V6), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7): &'a (V0, V1, V2, V3, V4, V5, V6, V7), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7, V8)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>, C8: Encoder<&'a V8, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8): &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>, C8: Encoder<&'a V8, Error = E>, C9: Encoder<&'a V9, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9): &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>, C8: Encoder<&'a V8, Error = E>, C9: Encoder<&'a V9, Error = E>, C10: Encoder<&'a V10, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10): &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>, C8: Encoder<&'a V8, Error = E>, C9: Encoder<&'a V9, Error = E>, C10: Encoder<&'a V10, Error = E>, C11: Encoder<&'a V11, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11): &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11, V12, C12> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>, C8: Encoder<&'a V8, Error = E>, C9: Encoder<&'a V9, Error = E>, C10: Encoder<&'a V10, Error = E>, C11: Encoder<&'a V11, Error = E>, C12: Encoder<&'a V12, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12): &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11, V12, C12, V13, C13> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>, C8: Encoder<&'a V8, Error = E>, C9: Encoder<&'a V9, Error = E>, C10: Encoder<&'a V10, Error = E>, C11: Encoder<&'a V11, Error = E>, C12: Encoder<&'a V12, Error = E>, C13: Encoder<&'a V13, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13): &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11, V12, C12, V13, C13, V14, C14> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>, C8: Encoder<&'a V8, Error = E>, C9: Encoder<&'a V9, Error = E>, C10: Encoder<&'a V10, Error = E>, C11: Encoder<&'a V11, Error = E>, C12: Encoder<&'a V12, Error = E>, C13: Encoder<&'a V13, Error = E>, C14: Encoder<&'a V14, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14): &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<'a, E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11, V12, C12, V13, C13, V14, C14, V15, C15> Encoder<&'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15)>
where E: From<Error>, C0: Encoder<&'a V0, Error = E>, C1: Encoder<&'a V1, Error = E>, C2: Encoder<&'a V2, Error = E>, C3: Encoder<&'a V3, Error = E>, C4: Encoder<&'a V4, Error = E>, C5: Encoder<&'a V5, Error = E>, C6: Encoder<&'a V6, Error = E>, C7: Encoder<&'a V7, Error = E>, C8: Encoder<&'a V8, Error = E>, C9: Encoder<&'a V9, Error = E>, C10: Encoder<&'a V10, Error = E>, C11: Encoder<&'a V11, Error = E>, C12: Encoder<&'a V12, Error = E>, C13: Encoder<&'a V13, Error = E>, C14: Encoder<&'a V14, Error = E>, C15: Encoder<&'a V15, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15): &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0> Encoder<(V0,)> for TupleEncoder<(C0,)>
where E: From<Error>, C0: Encoder<V0, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode(&mut self, (v0): (V0,), dst: &mut BytesMut) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1> Encoder<(V0, V1)> for TupleEncoder<(C0, C1)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1): (V0, V1), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2> Encoder<(V0, V1, V2)> for TupleEncoder<(C0, C1, C2)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2): (V0, V1, V2), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3> Encoder<(V0, V1, V2, V3)> for TupleEncoder<(C0, C1, C2, C3)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3): (V0, V1, V2, V3), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4> Encoder<(V0, V1, V2, V3, V4)> for TupleEncoder<(C0, C1, C2, C3, C4)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4): (V0, V1, V2, V3, V4), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5> Encoder<(V0, V1, V2, V3, V4, V5)> for TupleEncoder<(C0, C1, C2, C3, C4, C5)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5): (V0, V1, V2, V3, V4, V5), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6> Encoder<(V0, V1, V2, V3, V4, V5, V6)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6): (V0, V1, V2, V3, V4, V5, V6), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7): (V0, V1, V2, V3, V4, V5, V6, V7), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7, V8)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>, C8: Encoder<V8, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8): (V0, V1, V2, V3, V4, V5, V6, V7, V8), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>, C8: Encoder<V8, Error = E>, C9: Encoder<V9, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9): (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>, C8: Encoder<V8, Error = E>, C9: Encoder<V9, Error = E>, C10: Encoder<V10, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10): (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>, C8: Encoder<V8, Error = E>, C9: Encoder<V9, Error = E>, C10: Encoder<V10, Error = E>, C11: Encoder<V11, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11): (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11, V12, C12> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>, C8: Encoder<V8, Error = E>, C9: Encoder<V9, Error = E>, C10: Encoder<V10, Error = E>, C11: Encoder<V11, Error = E>, C12: Encoder<V12, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12): (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11, V12, C12, V13, C13> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>, C8: Encoder<V8, Error = E>, C9: Encoder<V9, Error = E>, C10: Encoder<V10, Error = E>, C11: Encoder<V11, Error = E>, C12: Encoder<V12, Error = E>, C13: Encoder<V13, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13): (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11, V12, C12, V13, C13, V14, C14> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>, C8: Encoder<V8, Error = E>, C9: Encoder<V9, Error = E>, C10: Encoder<V10, Error = E>, C11: Encoder<V11, Error = E>, C12: Encoder<V12, Error = E>, C13: Encoder<V13, Error = E>, C14: Encoder<V14, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14): (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<E, V0, C0, V1, C1, V2, C2, V3, C3, V4, C4, V5, C5, V6, C6, V7, C7, V8, C8, V9, C9, V10, C10, V11, C11, V12, C12, V13, C13, V14, C14, V15, C15> Encoder<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15)>
where E: From<Error>, C0: Encoder<V0, Error = E>, C1: Encoder<V1, Error = E>, C2: Encoder<V2, Error = E>, C3: Encoder<V3, Error = E>, C4: Encoder<V4, Error = E>, C5: Encoder<V5, Error = E>, C6: Encoder<V6, Error = E>, C7: Encoder<V7, Error = E>, C8: Encoder<V8, Error = E>, C9: Encoder<V9, Error = E>, C10: Encoder<V10, Error = E>, C11: Encoder<V11, Error = E>, C12: Encoder<V12, Error = E>, C13: Encoder<V13, Error = E>, C14: Encoder<V14, Error = E>, C15: Encoder<V15, Error = E>,

source§

type Error = E

The type of encoding errors. Read more
source§

fn encode( &mut self, (v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15): (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15), dst: &mut BytesMut, ) -> Result<(), Self::Error>

Encodes a frame into the buffer provided. Read more
source§

impl<C0> From<(C0,)> for TupleEncoder<(C0,)>

source§

fn from(e: (C0,)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1> From<(C0, C1)> for TupleEncoder<(C0, C1)>

source§

fn from(e: (C0, C1)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2> From<(C0, C1, C2)> for TupleEncoder<(C0, C1, C2)>

source§

fn from(e: (C0, C1, C2)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3> From<(C0, C1, C2, C3)> for TupleEncoder<(C0, C1, C2, C3)>

source§

fn from(e: (C0, C1, C2, C3)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4> From<(C0, C1, C2, C3, C4)> for TupleEncoder<(C0, C1, C2, C3, C4)>

source§

fn from(e: (C0, C1, C2, C3, C4)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5> From<(C0, C1, C2, C3, C4, C5)> for TupleEncoder<(C0, C1, C2, C3, C4, C5)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6> From<(C0, C1, C2, C3, C4, C5, C6)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5, C6)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7> From<(C0, C1, C2, C3, C4, C5, C6, C7)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5, C6, C7)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> From<(C0, C1, C2, C3, C4, C5, C6, C7, C8)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5, C6, C7, C8)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9> From<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> From<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11> From<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12> From<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13> From<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13)>

source§

fn from(e: (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13)) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14> From<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14)>

source§

fn from( e: (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14), ) -> Self

Converts to this type from the input type.
source§

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15> From<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15)> for TupleEncoder<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15)>

source§

fn from( e: (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15), ) -> Self

Converts to this type from the input type.
source§

impl<T: PartialEq> PartialEq for TupleEncoder<T>

source§

fn eq(&self, other: &TupleEncoder<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T: Copy> Copy for TupleEncoder<T>

source§

impl<T: Eq> Eq for TupleEncoder<T>

source§

impl<T> StructuralPartialEq for TupleEncoder<T>

Auto Trait Implementations§

§

impl<T> Freeze for TupleEncoder<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for TupleEncoder<T>
where T: RefUnwindSafe,

§

impl<T> Send for TupleEncoder<T>
where T: Send,

§

impl<T> Sync for TupleEncoder<T>
where T: Sync,

§

impl<T> Unpin for TupleEncoder<T>
where T: Unpin,

§

impl<T> UnwindSafe for TupleEncoder<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more