Home
last modified time | relevance | path

Searched defs:ByteSlice (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/der/src/
Dbyte_slice.rs12 pub(crate) struct ByteSlice<'a> { struct
20 impl<'a> ByteSlice<'a> { implementation
52 impl AsRef<[u8]> for ByteSlice<'_> { implementation
58 impl<'a> DecodeValue<'a> for ByteSlice<'a> { implementation
64 impl EncodeValue for ByteSlice<'_> { implementation
74 impl Default for ByteSlice<'_> { implementation
83 impl DerOrd for ByteSlice<'_> { implementation
89 impl<'a> From<&'a [u8; 1]> for ByteSlice<'a> { implementation
98 impl<'a> From<StrSlice<'a>> for ByteSlice<'a> { implementation
110 impl<'a> TryFrom<&'a [u8]> for ByteSlice<'a> { implementation
/external/rust/crates/bstr/src/
Dext_slice.rs78 impl ByteSlice for [u8] { impl
90 impl<const N: usize> ByteSlice for [u8; N] { impl
113 pub trait ByteSlice: private::Sealed { interface
/external/rust/crates/der/src/asn1/
Dany.rs203 impl<'a> From<AnyRef<'a>> for ByteSlice<'a> { implementation
/external/rust/crates/zerocopy/src/
Dlib.rs1843 pub unsafe trait ByteSlice: Deref<Target = [u8]> + Sized + self::sealed::Sealed { interface
1867 unsafe impl<'a> ByteSlice for &'a [u8] { impl
1875 unsafe impl<'a> ByteSlice for &'a mut [u8] { impl