[−][src]Trait heed::BytesDecode
Associated Types
Loading content...Required methods
Loading content...Implementations on Foreign Types
impl<'a, T> BytesDecode<'a> for UnalignedSlice<T> where
T: 'a + FromBytes + Unaligned,
[src]
T: 'a + FromBytes + Unaligned,
type DItem = &'a [T]
pub fn bytes_decode(
bytes: &'a [u8]
) -> Option<<UnalignedSlice<T> as BytesDecode<'a>>::DItem>
[src]
bytes: &'a [u8]
) -> Option<<UnalignedSlice<T> as BytesDecode<'a>>::DItem>
impl<'a, T> BytesDecode<'a> for OwnedSlice<T> where
T: 'a + FromBytes + Copy,
[src]
T: 'a + FromBytes + Copy,
type DItem = Vec<T, Global>
pub fn bytes_decode(
bytes: &[u8]
) -> Option<<OwnedSlice<T> as BytesDecode<'a>>::DItem>
[src]
bytes: &[u8]
) -> Option<<OwnedSlice<T> as BytesDecode<'a>>::DItem>
impl<'_> BytesDecode<'_> for Unit
[src]
impl<'a, T> BytesDecode<'a> for SerdeBincode<T> where
T: 'a + Deserialize<'a>,
[src]
T: 'a + Deserialize<'a>,
type DItem = T
pub fn bytes_decode(
bytes: &'a [u8]
) -> Option<<SerdeBincode<T> as BytesDecode<'a>>::DItem>
[src]
bytes: &'a [u8]
) -> Option<<SerdeBincode<T> as BytesDecode<'a>>::DItem>
impl<'a, T> BytesDecode<'a> for CowSlice<T> where
T: 'a + FromBytes + Copy,
[src]
T: 'a + FromBytes + Copy,
type DItem = Cow<'a, [T]>
pub fn bytes_decode(
bytes: &'a [u8]
) -> Option<<CowSlice<T> as BytesDecode<'a>>::DItem>
[src]
bytes: &'a [u8]
) -> Option<<CowSlice<T> as BytesDecode<'a>>::DItem>
impl<'a, T> BytesDecode<'a> for OwnedType<T> where
T: 'a + FromBytes + Copy,
[src]
T: 'a + FromBytes + Copy,
type DItem = T
pub fn bytes_decode(
bytes: &[u8]
) -> Option<<OwnedType<T> as BytesDecode<'a>>::DItem>
[src]
bytes: &[u8]
) -> Option<<OwnedType<T> as BytesDecode<'a>>::DItem>
impl<'a, T> BytesDecode<'a> for SerdeJson<T> where
T: 'a + Deserialize<'a>,
[src]
T: 'a + Deserialize<'a>,
type DItem = T
pub fn bytes_decode(
bytes: &'a [u8]
) -> Option<<SerdeJson<T> as BytesDecode<'a>>::DItem>
[src]
bytes: &'a [u8]
) -> Option<<SerdeJson<T> as BytesDecode<'a>>::DItem>
impl<'a, T> BytesDecode<'a> for CowType<T> where
T: 'a + FromBytes + Copy,
[src]
T: 'a + FromBytes + Copy,
type DItem = Cow<'a, T>
pub fn bytes_decode(
bytes: &'a [u8]
) -> Option<<CowType<T> as BytesDecode<'a>>::DItem>
[src]
bytes: &'a [u8]
) -> Option<<CowType<T> as BytesDecode<'a>>::DItem>
impl<'a> BytesDecode<'a> for Str
[src]
type DItem = &'a str
pub fn bytes_decode(bytes: &'a [u8]) -> Option<<Str as BytesDecode<'a>>::DItem>
[src]
impl<'a, T> BytesDecode<'a> for UnalignedType<T> where
T: 'a + FromBytes + Unaligned,
[src]
T: 'a + FromBytes + Unaligned,
type DItem = &'a T
pub fn bytes_decode(
bytes: &'a [u8]
) -> Option<<UnalignedType<T> as BytesDecode<'a>>::DItem>
[src]
bytes: &'a [u8]
) -> Option<<UnalignedType<T> as BytesDecode<'a>>::DItem>
impl<'_> BytesDecode<'_> for DecodeIgnore
[src]
type DItem = ()
pub fn bytes_decode(
_bytes: &[u8]
) -> Option<<DecodeIgnore as BytesDecode<'_>>::DItem>
[src]
_bytes: &[u8]
) -> Option<<DecodeIgnore as BytesDecode<'_>>::DItem>