Home
last modified time | relevance | path

Searched defs:PodCastError (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/bytemuck-1.15.0/src/
H A Dlib.rs191 pub enum PodCastError { enum
212 impl core::fmt::Display for PodCastError { implementation
219 impl std::error::Error for PodCastError {} implementation
269 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument
292 pub fn try_from_bytes<T: AnyBitPattern>(s: &[u8]) -> Result<&T, PodCastError> { in try_from_bytes() argument
305 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument
400 ) -> Result<B, PodCastError> { in try_cast() argument
413 ) -> Result<&B, PodCastError> { in try_cast_ref() argument
426 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument
448 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument
[all …]
H A Dinternal.rs113 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument
162 ) -> Result<&T, PodCastError> { in try_from_bytes() argument
181 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument
286 ) -> Result<B, PodCastError> { in try_cast() argument
303 ) -> Result<&B, PodCastError> { in try_cast_ref() argument
323 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument
355 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument
381 ) -> Result<&mut [B], PodCastError> { in try_cast_slice_mut() argument
H A Dallocation.rs42 ) -> Result<Box<B>, (PodCastError, Box<A>)> { in try_cast_box()
167 ) -> Result<Box<[B]>, (PodCastError, Box<[A]>)> { in try_cast_slice_box()
217 ) -> Result<Vec<B>, (PodCastError, Vec<A>)> { in try_cast_vec()
326 ) -> Result<Rc<B>, (PodCastError, Rc<A>)> { in try_cast_rc()
367 ) -> Result<Arc<B>, (PodCastError, Arc<A>)> { in try_cast_arc()
410 ) -> Result<Rc<[B]>, (PodCastError, Rc<[A]>)> { in try_cast_slice_rc()
474 ) -> Result<Arc<[B]>, (PodCastError, Arc<[A]>)> { in try_cast_slice_arc()
747 ) -> Result<Box<Self>, (PodCastError, BoxBytes)>; in try_from_box_bytes()
780 ) -> Result<Box<Self>, (PodCastError, BoxBytes)> { in try_from_box_bytes()
797 ) -> Result<Box<Self>, (PodCastError, BoxBytes)> { in try_from_box_bytes()
[all …]
H A Dchecked.rs210 PodCastError(crate::PodCastError), enumerator
/aosp_15_r20/external/rust/android-crates-io/crates/bytemuck/src/
Dlib.rs214 pub enum PodCastError { enum
234 impl core::fmt::Display for PodCastError { implementation
241 impl std::error::Error for PodCastError {} implementation
293 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument
317 pub fn try_from_bytes<T: AnyBitPattern>(s: &[u8]) -> Result<&T, PodCastError> { in try_from_bytes() argument
330 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument
430 ) -> Result<B, PodCastError> { in try_cast() argument
443 ) -> Result<&B, PodCastError> { in try_cast_ref() argument
456 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument
478 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument
[all …]
Dinternal.rs108 ) -> Result<T, PodCastError> { in try_pod_read_unaligned() argument
159 ) -> Result<&T, PodCastError> { in try_from_bytes() argument
178 ) -> Result<&mut T, PodCastError> { in try_from_bytes_mut() argument
288 ) -> Result<B, PodCastError> { in try_cast() argument
305 ) -> Result<&B, PodCastError> { in try_cast_ref() argument
325 ) -> Result<&mut B, PodCastError> { in try_cast_mut() argument
355 ) -> Result<&[B], PodCastError> { in try_cast_slice() argument
383 ) -> Result<&mut [B], PodCastError> { in try_cast_slice_mut() argument
Dallocation.rs46 ) -> Result<Box<B>, (PodCastError, Box<A>)> { in try_cast_box()
173 ) -> Result<Box<[B]>, (PodCastError, Box<[A]>)> { in try_cast_slice_box()
227 ) -> Result<Vec<B>, (PodCastError, Vec<A>)> { in try_cast_vec()
342 ) -> Result<Rc<B>, (PodCastError, Rc<A>)> { in try_cast_rc()
383 ) -> Result<Arc<B>, (PodCastError, Arc<A>)> { in try_cast_arc()
426 ) -> Result<Rc<[B]>, (PodCastError, Rc<[A]>)> { in try_cast_slice_rc()
494 ) -> Result<Arc<[B]>, (PodCastError, Arc<[A]>)> { in try_cast_slice_arc()
801 ) -> Result<Box<Self>, (PodCastError, BoxBytes)>; in try_from_box_bytes()
834 ) -> Result<Box<Self>, (PodCastError, BoxBytes)> { in try_from_box_bytes()
851 ) -> Result<Box<Self>, (PodCastError, BoxBytes)> { in try_from_box_bytes()
[all …]
Dchecked.rs211 PodCastError(crate::PodCastError), enumerator
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/buffer/
Dsubbuffer.rs380 pub fn try_from_bytes(subbuffer: Subbuffer<[u8]>) -> Result<Self, PodCastError> { in try_from_bytes() argument