Trait parity_scale_codec::Encode [−][src]
Trait that allows zero-copy write of value-references to slices in LE format.
Implementations should override using_encoded
for value types and encode_to
and size_hint
for allocating types.
Wrapper types should override all methods.
Provided methods
fn size_hint(&self) -> usize
[src]
If possible give a hint of expected size of the encoding.
This method is used inside default implementation of encode
to avoid re-allocations.
fn encode_to<T: Output>(&self, dest: &mut T)
[src]
Convert self to a slice and append it to the destination.
fn encode(&self) -> Vec<u8>ⓘ
[src]
Convert self to an owned vector.
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
Convert self to a slice and then invoke the given closure with it.
Implementations on Foreign Types
impl<T: Encode, E: Encode> Encode for Result<T, E>
[src]
impl<T: Encode> Encode for Option<T>
[src]
impl Encode for NonZeroI8
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroI16
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroI32
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroI64
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroI128
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroU8
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroU16
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroU32
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroU64
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for NonZeroU128
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl<T: Encode> Encode for [T; 1]
[src]
impl<T: Encode> Encode for [T; 2]
[src]
impl<T: Encode> Encode for [T; 3]
[src]
impl<T: Encode> Encode for [T; 4]
[src]
impl<T: Encode> Encode for [T; 5]
[src]
impl<T: Encode> Encode for [T; 6]
[src]
impl<T: Encode> Encode for [T; 7]
[src]
impl<T: Encode> Encode for [T; 8]
[src]
impl<T: Encode> Encode for [T; 9]
[src]
impl<T: Encode> Encode for [T; 10]
[src]
impl<T: Encode> Encode for [T; 11]
[src]
impl<T: Encode> Encode for [T; 12]
[src]
impl<T: Encode> Encode for [T; 13]
[src]
impl<T: Encode> Encode for [T; 14]
[src]
impl<T: Encode> Encode for [T; 15]
[src]
impl<T: Encode> Encode for [T; 16]
[src]
impl<T: Encode> Encode for [T; 17]
[src]
impl<T: Encode> Encode for [T; 18]
[src]
impl<T: Encode> Encode for [T; 19]
[src]
impl<T: Encode> Encode for [T; 20]
[src]
impl<T: Encode> Encode for [T; 21]
[src]
impl<T: Encode> Encode for [T; 22]
[src]
impl<T: Encode> Encode for [T; 23]
[src]
impl<T: Encode> Encode for [T; 24]
[src]
impl<T: Encode> Encode for [T; 25]
[src]
impl<T: Encode> Encode for [T; 26]
[src]
impl<T: Encode> Encode for [T; 27]
[src]
impl<T: Encode> Encode for [T; 28]
[src]
impl<T: Encode> Encode for [T; 29]
[src]
impl<T: Encode> Encode for [T; 30]
[src]
impl<T: Encode> Encode for [T; 31]
[src]
impl<T: Encode> Encode for [T; 32]
[src]
impl<T: Encode> Encode for [T; 33]
[src]
impl<T: Encode> Encode for [T; 34]
[src]
impl<T: Encode> Encode for [T; 35]
[src]
impl<T: Encode> Encode for [T; 36]
[src]
impl<T: Encode> Encode for [T; 37]
[src]
impl<T: Encode> Encode for [T; 38]
[src]
impl<T: Encode> Encode for [T; 39]
[src]
impl<T: Encode> Encode for [T; 40]
[src]
impl<T: Encode> Encode for [T; 41]
[src]
impl<T: Encode> Encode for [T; 42]
[src]
impl<T: Encode> Encode for [T; 43]
[src]
impl<T: Encode> Encode for [T; 44]
[src]
impl<T: Encode> Encode for [T; 45]
[src]
impl<T: Encode> Encode for [T; 46]
[src]
impl<T: Encode> Encode for [T; 47]
[src]
impl<T: Encode> Encode for [T; 48]
[src]
impl<T: Encode> Encode for [T; 49]
[src]
impl<T: Encode> Encode for [T; 50]
[src]
impl<T: Encode> Encode for [T; 51]
[src]
impl<T: Encode> Encode for [T; 52]
[src]
impl<T: Encode> Encode for [T; 53]
[src]
impl<T: Encode> Encode for [T; 54]
[src]
impl<T: Encode> Encode for [T; 55]
[src]
impl<T: Encode> Encode for [T; 56]
[src]
impl<T: Encode> Encode for [T; 57]
[src]
impl<T: Encode> Encode for [T; 58]
[src]
impl<T: Encode> Encode for [T; 59]
[src]
impl<T: Encode> Encode for [T; 60]
[src]
impl<T: Encode> Encode for [T; 61]
[src]
impl<T: Encode> Encode for [T; 62]
[src]
impl<T: Encode> Encode for [T; 63]
[src]
impl<T: Encode> Encode for [T; 64]
[src]
impl<T: Encode> Encode for [T; 65]
[src]
impl<T: Encode> Encode for [T; 66]
[src]
impl<T: Encode> Encode for [T; 67]
[src]
impl<T: Encode> Encode for [T; 68]
[src]
impl<T: Encode> Encode for [T; 69]
[src]
impl<T: Encode> Encode for [T; 70]
[src]
impl<T: Encode> Encode for [T; 71]
[src]
impl<T: Encode> Encode for [T; 72]
[src]
impl<T: Encode> Encode for [T; 73]
[src]
impl<T: Encode> Encode for [T; 74]
[src]
impl<T: Encode> Encode for [T; 75]
[src]
impl<T: Encode> Encode for [T; 76]
[src]
impl<T: Encode> Encode for [T; 77]
[src]
impl<T: Encode> Encode for [T; 78]
[src]
impl<T: Encode> Encode for [T; 79]
[src]
impl<T: Encode> Encode for [T; 80]
[src]
impl<T: Encode> Encode for [T; 81]
[src]
impl<T: Encode> Encode for [T; 82]
[src]
impl<T: Encode> Encode for [T; 83]
[src]
impl<T: Encode> Encode for [T; 84]
[src]
impl<T: Encode> Encode for [T; 85]
[src]
impl<T: Encode> Encode for [T; 86]
[src]
impl<T: Encode> Encode for [T; 87]
[src]
impl<T: Encode> Encode for [T; 88]
[src]
impl<T: Encode> Encode for [T; 89]
[src]
impl<T: Encode> Encode for [T; 90]
[src]
impl<T: Encode> Encode for [T; 91]
[src]
impl<T: Encode> Encode for [T; 92]
[src]
impl<T: Encode> Encode for [T; 93]
[src]
impl<T: Encode> Encode for [T; 94]
[src]
impl<T: Encode> Encode for [T; 95]
[src]
impl<T: Encode> Encode for [T; 96]
[src]
impl<T: Encode> Encode for [T; 97]
[src]
impl<T: Encode> Encode for [T; 98]
[src]
impl<T: Encode> Encode for [T; 99]
[src]
impl<T: Encode> Encode for [T; 100]
[src]
impl<T: Encode> Encode for [T; 101]
[src]
impl<T: Encode> Encode for [T; 102]
[src]
impl<T: Encode> Encode for [T; 103]
[src]
impl<T: Encode> Encode for [T; 104]
[src]
impl<T: Encode> Encode for [T; 105]
[src]
impl<T: Encode> Encode for [T; 106]
[src]
impl<T: Encode> Encode for [T; 107]
[src]
impl<T: Encode> Encode for [T; 108]
[src]
impl<T: Encode> Encode for [T; 109]
[src]
impl<T: Encode> Encode for [T; 110]
[src]
impl<T: Encode> Encode for [T; 111]
[src]
impl<T: Encode> Encode for [T; 112]
[src]
impl<T: Encode> Encode for [T; 113]
[src]
impl<T: Encode> Encode for [T; 114]
[src]
impl<T: Encode> Encode for [T; 115]
[src]
impl<T: Encode> Encode for [T; 116]
[src]
impl<T: Encode> Encode for [T; 117]
[src]
impl<T: Encode> Encode for [T; 118]
[src]
impl<T: Encode> Encode for [T; 119]
[src]
impl<T: Encode> Encode for [T; 120]
[src]
impl<T: Encode> Encode for [T; 121]
[src]
impl<T: Encode> Encode for [T; 122]
[src]
impl<T: Encode> Encode for [T; 123]
[src]
impl<T: Encode> Encode for [T; 124]
[src]
impl<T: Encode> Encode for [T; 125]
[src]
impl<T: Encode> Encode for [T; 126]
[src]
impl<T: Encode> Encode for [T; 127]
[src]
impl<T: Encode> Encode for [T; 128]
[src]
impl<T: Encode> Encode for [T; 129]
[src]
impl<T: Encode> Encode for [T; 130]
[src]
impl<T: Encode> Encode for [T; 131]
[src]
impl<T: Encode> Encode for [T; 132]
[src]
impl<T: Encode> Encode for [T; 133]
[src]
impl<T: Encode> Encode for [T; 134]
[src]
impl<T: Encode> Encode for [T; 135]
[src]
impl<T: Encode> Encode for [T; 136]
[src]
impl<T: Encode> Encode for [T; 137]
[src]
impl<T: Encode> Encode for [T; 138]
[src]
impl<T: Encode> Encode for [T; 139]
[src]
impl<T: Encode> Encode for [T; 140]
[src]
impl<T: Encode> Encode for [T; 141]
[src]
impl<T: Encode> Encode for [T; 142]
[src]
impl<T: Encode> Encode for [T; 143]
[src]
impl<T: Encode> Encode for [T; 144]
[src]
impl<T: Encode> Encode for [T; 145]
[src]
impl<T: Encode> Encode for [T; 146]
[src]
impl<T: Encode> Encode for [T; 147]
[src]
impl<T: Encode> Encode for [T; 148]
[src]
impl<T: Encode> Encode for [T; 149]
[src]
impl<T: Encode> Encode for [T; 150]
[src]
impl<T: Encode> Encode for [T; 151]
[src]
impl<T: Encode> Encode for [T; 152]
[src]
impl<T: Encode> Encode for [T; 153]
[src]
impl<T: Encode> Encode for [T; 154]
[src]
impl<T: Encode> Encode for [T; 155]
[src]
impl<T: Encode> Encode for [T; 156]
[src]
impl<T: Encode> Encode for [T; 157]
[src]
impl<T: Encode> Encode for [T; 158]
[src]
impl<T: Encode> Encode for [T; 159]
[src]
impl<T: Encode> Encode for [T; 160]
[src]
impl<T: Encode> Encode for [T; 161]
[src]
impl<T: Encode> Encode for [T; 162]
[src]
impl<T: Encode> Encode for [T; 163]
[src]
impl<T: Encode> Encode for [T; 164]
[src]
impl<T: Encode> Encode for [T; 165]
[src]
impl<T: Encode> Encode for [T; 166]
[src]
impl<T: Encode> Encode for [T; 167]
[src]
impl<T: Encode> Encode for [T; 168]
[src]
impl<T: Encode> Encode for [T; 169]
[src]
impl<T: Encode> Encode for [T; 170]
[src]
impl<T: Encode> Encode for [T; 171]
[src]
impl<T: Encode> Encode for [T; 172]
[src]
impl<T: Encode> Encode for [T; 173]
[src]
impl<T: Encode> Encode for [T; 174]
[src]
impl<T: Encode> Encode for [T; 175]
[src]
impl<T: Encode> Encode for [T; 176]
[src]
impl<T: Encode> Encode for [T; 177]
[src]
impl<T: Encode> Encode for [T; 178]
[src]
impl<T: Encode> Encode for [T; 179]
[src]
impl<T: Encode> Encode for [T; 180]
[src]
impl<T: Encode> Encode for [T; 181]
[src]
impl<T: Encode> Encode for [T; 182]
[src]
impl<T: Encode> Encode for [T; 183]
[src]
impl<T: Encode> Encode for [T; 184]
[src]
impl<T: Encode> Encode for [T; 185]
[src]
impl<T: Encode> Encode for [T; 186]
[src]
impl<T: Encode> Encode for [T; 187]
[src]
impl<T: Encode> Encode for [T; 188]
[src]
impl<T: Encode> Encode for [T; 189]
[src]
impl<T: Encode> Encode for [T; 190]
[src]
impl<T: Encode> Encode for [T; 191]
[src]
impl<T: Encode> Encode for [T; 192]
[src]
impl<T: Encode> Encode for [T; 193]
[src]
impl<T: Encode> Encode for [T; 194]
[src]
impl<T: Encode> Encode for [T; 195]
[src]
impl<T: Encode> Encode for [T; 196]
[src]
impl<T: Encode> Encode for [T; 197]
[src]
impl<T: Encode> Encode for [T; 198]
[src]
impl<T: Encode> Encode for [T; 199]
[src]
impl<T: Encode> Encode for [T; 200]
[src]
impl<T: Encode> Encode for [T; 201]
[src]
impl<T: Encode> Encode for [T; 202]
[src]
impl<T: Encode> Encode for [T; 203]
[src]
impl<T: Encode> Encode for [T; 204]
[src]
impl<T: Encode> Encode for [T; 205]
[src]
impl<T: Encode> Encode for [T; 206]
[src]
impl<T: Encode> Encode for [T; 207]
[src]
impl<T: Encode> Encode for [T; 208]
[src]
impl<T: Encode> Encode for [T; 209]
[src]
impl<T: Encode> Encode for [T; 210]
[src]
impl<T: Encode> Encode for [T; 211]
[src]
impl<T: Encode> Encode for [T; 212]
[src]
impl<T: Encode> Encode for [T; 213]
[src]
impl<T: Encode> Encode for [T; 214]
[src]
impl<T: Encode> Encode for [T; 215]
[src]
impl<T: Encode> Encode for [T; 216]
[src]
impl<T: Encode> Encode for [T; 217]
[src]
impl<T: Encode> Encode for [T; 218]
[src]
impl<T: Encode> Encode for [T; 219]
[src]
impl<T: Encode> Encode for [T; 220]
[src]
impl<T: Encode> Encode for [T; 221]
[src]
impl<T: Encode> Encode for [T; 222]
[src]
impl<T: Encode> Encode for [T; 223]
[src]
impl<T: Encode> Encode for [T; 224]
[src]
impl<T: Encode> Encode for [T; 225]
[src]
impl<T: Encode> Encode for [T; 226]
[src]
impl<T: Encode> Encode for [T; 227]
[src]
impl<T: Encode> Encode for [T; 228]
[src]
impl<T: Encode> Encode for [T; 229]
[src]
impl<T: Encode> Encode for [T; 230]
[src]
impl<T: Encode> Encode for [T; 231]
[src]
impl<T: Encode> Encode for [T; 232]
[src]
impl<T: Encode> Encode for [T; 233]
[src]
impl<T: Encode> Encode for [T; 234]
[src]
impl<T: Encode> Encode for [T; 235]
[src]
impl<T: Encode> Encode for [T; 236]
[src]
impl<T: Encode> Encode for [T; 237]
[src]
impl<T: Encode> Encode for [T; 238]
[src]
impl<T: Encode> Encode for [T; 239]
[src]
impl<T: Encode> Encode for [T; 240]
[src]
impl<T: Encode> Encode for [T; 241]
[src]
impl<T: Encode> Encode for [T; 242]
[src]
impl<T: Encode> Encode for [T; 243]
[src]
impl<T: Encode> Encode for [T; 244]
[src]
impl<T: Encode> Encode for [T; 245]
[src]
impl<T: Encode> Encode for [T; 246]
[src]
impl<T: Encode> Encode for [T; 247]
[src]
impl<T: Encode> Encode for [T; 248]
[src]
impl<T: Encode> Encode for [T; 249]
[src]
impl<T: Encode> Encode for [T; 250]
[src]
impl<T: Encode> Encode for [T; 251]
[src]
impl<T: Encode> Encode for [T; 252]
[src]
impl<T: Encode> Encode for [T; 253]
[src]
impl<T: Encode> Encode for [T; 254]
[src]
impl<T: Encode> Encode for [T; 255]
[src]
impl<T: Encode> Encode for [T; 256]
[src]
impl<T: Encode> Encode for [T; 384]
[src]
impl<T: Encode> Encode for [T; 512]
[src]
impl<T: Encode> Encode for [T; 768]
[src]
impl<T: Encode> Encode for [T; 1024]
[src]
impl<T: Encode> Encode for [T; 2048]
[src]
impl<T: Encode> Encode for [T; 4096]
[src]
impl<T: Encode> Encode for [T; 8192]
[src]
impl<T: Encode> Encode for [T; 16384]
[src]
impl<T: Encode> Encode for [T; 32768]
[src]
impl Encode for str
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl<T> Encode for PhantomData<T>
[src]
impl<T: Encode> Encode for [T]
[src]
impl<K: Encode, V: Encode> Encode for BTreeMap<K, V>
[src]
impl<T: Encode> Encode for BTreeSet<T>
[src]
impl<T: Encode> Encode for LinkedList<T>
[src]
impl<T: Encode> Encode for BinaryHeap<T>
[src]
impl<T: Encode> Encode for VecDeque<T>
[src]
impl Encode for ()
[src]
fn encode_to<W: Output>(&self, _dest: &mut W)
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
impl<A0: Encode, B0: Encode, C0: Encode, D0: Encode, E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<B0: Encode, C0: Encode, D0: Encode, E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<C0: Encode, D0: Encode, E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<D0: Encode, E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<E0: Encode, F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<F0: Encode, G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<G0: Encode, H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<H0: Encode, I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<I0: Encode, J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<J0: Encode, K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (J0, K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<K0: Encode, L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (K0, L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<L0: Encode, M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (L0, M0, N0, O0, P0, Q0, R0)
[src]
impl<M0: Encode, N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (M0, N0, O0, P0, Q0, R0)
[src]
impl<N0: Encode, O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (N0, O0, P0, Q0, R0)
[src]
impl<O0: Encode, P0: Encode, Q0: Encode, R0: Encode> Encode for (O0, P0, Q0, R0)
[src]
impl<P0: Encode, Q0: Encode, R0: Encode> Encode for (P0, Q0, R0)
[src]
impl<Q0: Encode, R0: Encode> Encode for (Q0, R0)
[src]
impl<R0: Encode> Encode for (R0,)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_to<T: Output>(&self, dest: &mut T)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for u16
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for u32
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for u64
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for u128
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for i16
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for i32
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for i64
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for i128
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for u8
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for i8
[src]
const TYPE_INFO: TypeInfo
[src]
fn size_hint(&self) -> usize
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl Encode for bool
[src]
impl Encode for Duration
[src]
Loading content...Implementors
impl Encode for OptionBool
[src]
impl<T> Encode for Compact<T> where
CompactRef<'a, T>: Encode,
[src]
CompactRef<'a, T>: Encode,
fn size_hint(&self) -> usize
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[src]
fn encode(&self) -> Vec<u8>ⓘ
[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
impl<T: ?Sized, X> Encode for X where
T: Encode,
X: WrapperTypeEncode<Target = T>,
[src]
T: Encode,
X: WrapperTypeEncode<Target = T>,