Searched defs:ByteSlice (Results 1 – 4 of 4) sorted by relevance
12 pub(crate) struct ByteSlice<'a> { struct20 impl<'a> ByteSlice<'a> { implementation52 impl AsRef<[u8]> for ByteSlice<'_> { implementation58 impl<'a> DecodeValue<'a> for ByteSlice<'a> { implementation64 impl EncodeValue for ByteSlice<'_> { implementation74 impl Default for ByteSlice<'_> { implementation83 impl DerOrd for ByteSlice<'_> { implementation89 impl<'a> From<&'a [u8; 1]> for ByteSlice<'a> { implementation98 impl<'a> From<StrSlice<'a>> for ByteSlice<'a> { implementation110 impl<'a> TryFrom<&'a [u8]> for ByteSlice<'a> { implementation
78 impl ByteSlice for [u8] { impl90 impl<const N: usize> ByteSlice for [u8; N] { impl113 pub trait ByteSlice: private::Sealed { interface
203 impl<'a> From<AnyRef<'a>> for ByteSlice<'a> { implementation
1843 pub unsafe trait ByteSlice: Deref<Target = [u8]> + Sized + self::sealed::Sealed { interface1867 unsafe impl<'a> ByteSlice for &'a [u8] { impl1875 unsafe impl<'a> ByteSlice for &'a mut [u8] { impl