Searched defs:try_from_bytes (Results 1 – 6 of 6) 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
286 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