Searched defs:AlignmentError (Results 1 – 2 of 2) sorted by relevance
| /linux/rust/zerocopy/src/ |
| H A D | error.rs | 250 pub struct AlignmentError<Src, Dst: ?Sized> { struct 255 /// INVARIANT: An `AlignmentError` may only be constructed if `Dst`'s argument 260 impl<Src, Dst: ?Sized> AlignmentError<Src, Dst> { argument 344 impl<Src: Clone, Dst: ?Sized> Clone for AlignmentError<Src, Dst> { implementation 351 impl<Src: PartialEq, Dst: ?Sized> PartialEq for AlignmentError<Src, Dst> { implementation 358 impl<Src: Eq, Dst: ?Sized> Eq for AlignmentError<Src, Dst> {} implementation 372 impl<Src, Dst> AlignmentError<Src, Dst> { impl 383 impl<Src, Dst: ?Sized> fmt::Debug for AlignmentError<Src, Dst> { implementation 395 impl<Src, Dst: ?Sized> fmt::Display for AlignmentError<Src, Dst> implementation 414 impl<Src, Dst: ?Sized> Error for AlignmentError<Src, Dst> implementation
|
| /linux/rust/zerocopy/src/util/ |
| H A D | mod.rs | 127 pub(crate) fn validate_aligned_to<T: AsAddress, U>(t: T) -> Result<(), AlignmentError<(), U>> { in validate_aligned_to() argument
|