pub trait Decode<'de, M, A>: Sizedwhere
A: Allocator,{
const IS_BITWISE_DECODE: bool = false;
// Required method
fn decode<D>(decoder: D) -> Result<Self, <D as Decoder<'de>>::Error>
where D: Decoder<'de, Mode = M, Allocator = A>;
}Expand description
Trait governing how types are decoded.
This is typically implemented automatically using the Decode derive.
§Examples
use musli::Decode;
#[derive(Decode)]
struct MyType {
data: [u32; 8],
}Implementing manually:
use musli::{Allocator, Decode, Decoder};
struct MyType {
data: [u32; 8],
}
impl<'de, M, A> Decode<'de, M, A> for MyType
where
A: Allocator,
{
#[inline]
fn decode<D>(decoder: D) -> Result<Self, D::Error>
where
D: Decoder<'de>,
{
Ok(Self {
data: decoder.decode()?,
})
}
}Provided Associated Constants§
Sourceconst IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the representation of the serialization format is identical to the memory layout of the type.
Note that setting this to true has safety implications, since it
implies that assuming the type is correctly aligned it can be validly
bitwise copied when encoded. Setting it to false is always safe.
This being set to true also implies that the type is Copy, and must
not have a Drop implementation.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<'de, M, A> Decode<'de, M, A> for SocketAddrwhere
A: Allocator,
SocketAddrTag: Decode<'de, M, A>,
SocketAddrV4: Decode<'de, M, A>,
SocketAddrV6: Decode<'de, M, A>,
impl<'de, M, A> Decode<'de, M, A> for SocketAddrwhere
A: Allocator,
SocketAddrTag: Decode<'de, M, A>,
SocketAddrV4: Decode<'de, M, A>,
SocketAddrV6: Decode<'de, M, A>,
Source§impl<'de, M, A> Decode<'de, M, A> for AtomicBoolwhere
A: Allocator,
impl<'de, M, A> Decode<'de, M, A> for AtomicBoolwhere
A: Allocator,
Source§impl<'de, M, A> Decode<'de, M, A> for AtomicIsizewhere
A: Allocator,
impl<'de, M, A> Decode<'de, M, A> for AtomicIsizewhere
A: Allocator,
Source§impl<'de, M, A> Decode<'de, M, A> for AtomicUsizewhere
A: Allocator,
impl<'de, M, A> Decode<'de, M, A> for AtomicUsizewhere
A: Allocator,
Source§impl<'de, M, A, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T0: Decode<'de, M, A>,
T1: Decode<'de, M, A>,
T2: Decode<'de, M, A>,
T3: Decode<'de, M, A>,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
impl<'de, M, A, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T0: Decode<'de, M, A>,
T1: Decode<'de, M, A>,
T2: Decode<'de, M, A>,
T3: Decode<'de, M, A>,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
Source§impl<'de, M, A, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T1: Decode<'de, M, A>,
T2: Decode<'de, M, A>,
T3: Decode<'de, M, A>,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
impl<'de, M, A, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T1: Decode<'de, M, A>,
T2: Decode<'de, M, A>,
T3: Decode<'de, M, A>,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
Source§impl<'de, M, A, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T2: Decode<'de, M, A>,
T3: Decode<'de, M, A>,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
impl<'de, M, A, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T2: Decode<'de, M, A>,
T3: Decode<'de, M, A>,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
Source§impl<'de, M, A, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T3: Decode<'de, M, A>,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
impl<'de, M, A, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T3: Decode<'de, M, A>,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
Source§impl<'de, M, A, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
impl<'de, M, A, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
A: Allocator,
T4: Decode<'de, M, A>,
T5: Decode<'de, M, A>,
T6: Decode<'de, M, A>,
T7: Decode<'de, M, A>,
T8: Decode<'de, M, A>,
T9: Decode<'de, M, A>,
T10: Decode<'de, M, A>,
T11: Decode<'de, M, A>,
T12: Decode<'de, M, A>,
T13: Decode<'de, M, A>,
T14: Decode<'de, M, A>,
T15: Decode<'de, M, A>,
Source§impl<'de, M, A, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
impl<'de, M, A, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
Source§impl<'de, M, A, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
impl<'de, M, A, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
Source§impl<'de, M, A, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T7, T8, T9, T10, T11, T12, T13, T14, T15)
impl<'de, M, A, T7, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T7, T8, T9, T10, T11, T12, T13, T14, T15)
Source§impl<'de, M, A, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T8, T9, T10, T11, T12, T13, T14, T15)
impl<'de, M, A, T8, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T8, T9, T10, T11, T12, T13, T14, T15)
Source§impl<'de, M, A, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T9, T10, T11, T12, T13, T14, T15)
impl<'de, M, A, T9, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T9, T10, T11, T12, T13, T14, T15)
Source§impl<'de, M, A, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T10, T11, T12, T13, T14, T15)
impl<'de, M, A, T10, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T10, T11, T12, T13, T14, T15)
Source§impl<'de, M, A, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T11, T12, T13, T14, T15)
impl<'de, M, A, T11, T12, T13, T14, T15> Decode<'de, M, A> for (T11, T12, T13, T14, T15)
Source§impl<'de, M, A, T12, T13, T14, T15> Decode<'de, M, A> for (T12, T13, T14, T15)
impl<'de, M, A, T12, T13, T14, T15> Decode<'de, M, A> for (T12, T13, T14, T15)
Source§impl<'de, M, A, T13, T14, T15> Decode<'de, M, A> for (T13, T14, T15)
impl<'de, M, A, T13, T14, T15> Decode<'de, M, A> for (T13, T14, T15)
Source§impl<'de, M, A, T14, T15> Decode<'de, M, A> for (T14, T15)
impl<'de, M, A, T14, T15> Decode<'de, M, A> for (T14, T15)
Source§impl<'de, M, A, T> Decode<'de, M, A> for BinaryHeap<T>
impl<'de, M, A, T> Decode<'de, M, A> for BinaryHeap<T>
Source§impl<'de, M, A, T> Decode<'de, M, A> for PhantomData<T>where
A: Allocator,
impl<'de, M, A, T> Decode<'de, M, A> for PhantomData<T>where
A: Allocator,
Source§impl<'de, M, A, T> Decode<'de, M, A> for RangeInclusive<T>
impl<'de, M, A, T> Decode<'de, M, A> for RangeInclusive<T>
Source§impl<'de, M, A, T> Decode<'de, M, A> for RangeToInclusive<T>
impl<'de, M, A, T> Decode<'de, M, A> for RangeToInclusive<T>
Implementors§
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for EnableOrCustomwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for EnableOrCustomwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for MaybeMultiwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for MaybeMultiwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CheckerToolwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CheckerToolwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for Kindwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for Kindwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheCheckerwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheCheckerwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheCmdwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheCmdwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheRepowhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheRepowhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheRepoKeywhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheRepoKeywhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheRepoKeyCmdwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheRepoKeyCmdwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheValuewhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheValuewhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for OutputDatawhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for OutputDatawhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for OutputDataInnerwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for OutputDataInnerwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CheckValuewhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CheckValuewhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for Keyswhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for Keyswhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for Metawhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for Metawhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for RepoConfigwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for RepoConfigwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for Setupwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for Setupwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for Targetswhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for Targetswhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for Committerwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for Committerwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for Infowhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for Infowhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for InfoKeywhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for InfoKeywhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for LatestCommitwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for LatestCommitwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheLayoutwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheLayoutwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheResolvewhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheResolvewhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CargoMetaDatawhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CargoMetaDatawhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for EnableOrCustomwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for EnableOrCustomwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for MaybeMultiwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for MaybeMultiwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CheckerToolwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CheckerToolwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for Kindwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for Kindwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheCheckerwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheCheckerwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheCmdwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheCmdwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheRepowhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheRepowhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheRepoKeywhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheRepoKeywhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheRepoKeyCmdwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheRepoKeyCmdwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheValuewhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheValuewhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for OutputDatawhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for OutputDatawhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for OutputDataInnerwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for OutputDataInnerwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CheckValuewhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CheckValuewhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for Keyswhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for Keyswhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for Metawhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for Metawhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for RepoConfigwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for RepoConfigwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for Setupwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for Setupwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for Targetswhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for Targetswhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for Committerwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for Committerwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for Infowhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for Infowhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for InfoKeywhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for InfoKeywhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for LatestCommitwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for LatestCommitwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheLayoutwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheLayoutwhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheResolvewhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheResolvewhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CargoMetaDatawhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CargoMetaDatawhere
__A: Allocator,
const IS_BITWISE_DECODE: bool = false
Source§impl<'de, M, A> Decode<'de, M, A> for musli_core::alloc::string::String<A>where
A: Allocator,
Decode implementation for a Müsli-allocated String.
impl<'de, M, A> Decode<'de, M, A> for musli_core::alloc::string::String<A>where
A: Allocator,
Decode implementation for a Müsli-allocated String.
§Examples
use musli::alloc::String;
use musli::{Allocator, Decode};
#[derive(Decode)]
struct Struct<A> where A: Allocator {
field: String<A>
}