Searched defs:try_from_bytes (Results 1 – 10 of 10) sorted by relevance
84 fn try_from_bytes(serialized: &[u8]) -> Option<Self> { in try_from_bytes() method
106 fn try_from_bytes(serialized: &[u8]) -> Option<Self> { in try_from_bytes() method
160 pub(crate) unsafe fn try_from_bytes<T: Copy>( in try_from_bytes() function
244 pub fn try_from_bytes<T: CheckedBitPattern>( in try_from_bytes() function
292 pub fn try_from_bytes<T: AnyBitPattern>(s: &[u8]) -> Result<&T, PodCastError> { in try_from_bytes() function
157 pub(crate) unsafe fn try_from_bytes<T: Copy>( in try_from_bytes() function
245 pub fn try_from_bytes<T: CheckedBitPattern>( in try_from_bytes() function
317 pub fn try_from_bytes<T: AnyBitPattern>(s: &[u8]) -> Result<&T, PodCastError> { in try_from_bytes() function
380 pub fn try_from_bytes(subbuffer: Subbuffer<[u8]>) -> Result<Self, PodCastError> { in try_from_bytes() function
268 pub fn try_from_bytes(bytes: &[u8]) -> Result<Self> { in try_from_bytes() method