Lines Matching defs:PodCastError
185 pub enum PodCastError { enum
206 impl core::fmt::Display for PodCastError { implementation
213 impl std::error::Error for PodCastError {} implementation
263 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument
286 pub fn try_from_bytes<T: AnyBitPattern>(s: &[u8]) -> Result<&T, PodCastError> { in try_from_bytes() argument
299 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument
394 ) -> Result<B, PodCastError> { in try_cast() argument
407 ) -> Result<&B, PodCastError> { in try_cast_ref() argument
420 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument
442 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument
456 ) -> Result<&mut [B], PodCastError> { in try_cast_slice_mut() argument