[−][src]Trait tree_buf::Decodable
Associated Types
type DecoderArray: DecoderArray<Decode = Self>
Required methods
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
Implementations on Foreign Types
impl<T: Decodable> Decodable for Box<T>
[src]
type DecoderArray = BoxDecoderArray<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable> Decodable for Vec<T> where
DecodeError: From<<<T as Decodable>::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<<T as Decodable>::DecoderArray as DecoderArray>::Error>,
type DecoderArray = Option<VecArrayDecoder<T::DecoderArray>>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 2] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 3] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 4] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 5] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 6] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 7] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 8] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 9] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 10] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 11] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 12] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 13] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 14] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 15] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 16] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 17] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 18] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 19] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 20] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 32] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 64] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 128] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 256] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable + Sized> Decodable for [T; 512] where
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T::DecoderArray as DecoderArray>::Error>,
type DecoderArray = ArrayDecoder<T::DecoderArray>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl Decodable for bool
[src]
type DecoderArray = IntoIter<bool>
fn decode(
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl Decodable for f64
[src]
type DecoderArray = IntoIter<f64>
fn decode(
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl Decodable for f32
[src]
type DecoderArray = IntoIter<f32>
fn decode(
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<K: Decodable + Hash + Eq + Send, V: Decodable + Send, S: Default + BuildHasher> Decodable for HashMap<K, V, S> where
DecodeError: From<<<K as Decodable>::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<<V as Decodable>::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<<K as Decodable>::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<<V as Decodable>::DecoderArray as DecoderArray>::Error>,
type DecoderArray = Option<HashMapArrayDecoder<K::DecoderArray, V::DecoderArray, S>>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl Decodable for u64
[src]
type DecoderArray = IntoIter<u64>
fn decode(
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl Decodable for u32
[src]
type DecoderArray = IntoIter<u32>
fn decode(
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl Decodable for u16
[src]
type DecoderArray = IntoIter<u16>
fn decode(
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl Decodable for u8
[src]
type DecoderArray = IntoIter<u8>
fn decode(
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T: Decodable> Decodable for Option<T>
[src]
type DecoderArray = Option<NullableDecoder<T::DecoderArray>>
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl Decodable for String
[src]
type DecoderArray = IntoIter<String>
fn decode(
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T0: Decodable + Send, T1: Decodable + Send> Decodable for (T0, T1) where
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
type DecoderArray = (T0::DecoderArray, T1::DecoderArray)
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T0: Decodable + Send, T1: Decodable + Send, T2: Decodable + Send> Decodable for (T0, T1, T2) where
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T2::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T2::DecoderArray as DecoderArray>::Error>,
type DecoderArray = (T0::DecoderArray, T1::DecoderArray, T2::DecoderArray)
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T0: Decodable + Send, T1: Decodable + Send, T2: Decodable + Send, T3: Decodable + Send> Decodable for (T0, T1, T2, T3) where
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T2::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T3::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T2::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T3::DecoderArray as DecoderArray>::Error>,
type DecoderArray = (T0::DecoderArray, T1::DecoderArray, T2::DecoderArray, T3::DecoderArray)
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T0: Decodable + Send, T1: Decodable + Send, T2: Decodable + Send, T3: Decodable + Send, T4: Decodable + Send> Decodable for (T0, T1, T2, T3, T4) where
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T2::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T3::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T4::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T2::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T3::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T4::DecoderArray as DecoderArray>::Error>,
type DecoderArray = (T0::DecoderArray, T1::DecoderArray, T2::DecoderArray, T3::DecoderArray, T4::DecoderArray)
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
impl<T0: Decodable + Send, T1: Decodable + Send, T2: Decodable + Send, T3: Decodable + Send, T4: Decodable + Send, T5: Decodable + Send> Decodable for (T0, T1, T2, T3, T4, T5) where
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T2::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T3::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T4::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T5::DecoderArray as DecoderArray>::Error>,
[src]
DecodeError: From<<T0::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T1::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T2::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T3::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T4::DecoderArray as DecoderArray>::Error>,
DecodeError: From<<T5::DecoderArray as DecoderArray>::Error>,
type DecoderArray = (T0::DecoderArray, T1::DecoderArray, T2::DecoderArray, T3::DecoderArray, T4::DecoderArray, T5::DecoderArray)
fn decode(
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
sticks: DynRootBranch,
options: &impl DecodeOptions
) -> Result<Self, DecodeError>
Implementors
impl Decodable for Ignore
[src]
type DecoderArray = Ignore
fn decode(
_sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>
[src]
_sticks: DynRootBranch,
_options: &impl DecodeOptions
) -> Result<Self, DecodeError>