Searched defs:from_slice (Results 1 – 12 of 12) sorted by relevance
240 pub fn from_slice(b: &[u8]) -> Result<Uuid, crate::Error> { in from_slice() method347 pub fn from_slice(b: &[u8]) -> Result<Self, crate::Error> { in from_slice() method
32 fn from_slice(data: &[u8]) -> Option<&Self> { in from_slice() method
187 pub fn from_slice(buf: &'a [u8]) -> IoVec<&'a [u8]> { in from_slice() method
658 pub fn from_slice(fd: RawFd, offs: off_t, buf: &'a [u8], in from_slice() method
31 pub fn from_slice(slice: &[u8]) -> ByteClasses { in from_slice() method
153 fn from_slice<B: AsRef<[u8]>>(bytes: B) -> Vec<u8> { in from_slice() method
47 pub fn from_slice<'a, T>(slice: &'a [u8]) -> Result<T> in from_slice() function154 pub fn from_slice(bytes: &'a [u8]) -> Deserializer<SliceRead<'a>> { in from_slice() method
329 pub fn from_slice(values: &[T]) -> RepeatedField<T> { in from_slice() method
76 pub fn from_slice(bytes: &'a [u8]) -> Self { in from_slice() method2540 pub fn from_slice<'a, T>(v: &'a [u8]) -> Result<T> in from_slice() function
50 fn from_slice() { in from_slice() function
186 pub fn from_slice(buf: &mut [u8], dcid_len: usize) -> Result<Header> { in from_slice() method
1341 pub fn from_slice(slice: &[A::Item]) -> Self { in from_slice() function