Home
last modified time | relevance | path

Searched defs:AlignmentError (Results 1 – 2 of 2) sorted by relevance

/linux/rust/zerocopy/src/
H A Derror.rs250 pub struct AlignmentError<Src, Dst: ?Sized> { global() struct
255 srcAlignmentError global() argument
260 impl<Src, Dst: ?Sized> AlignmentError<Src, Dst> { global() implementation
344 impl<Src: Clone, Dst: ?Sized> Clone for AlignmentError<Src, Dst> { global() implementation
351 impl<Src: PartialEq, Dst: ?Sized> PartialEq for AlignmentError<Src, Dst> { global() implementation
358 impl<Src: Eq, Dst: ?Sized> Eq for AlignmentError<Src, Dst> {} global() implementation
372 impl<Src, Dst> AlignmentError<Src, Dst> { global() implementation
383 impl<Src, Dst: ?Sized> fmt::Debug for AlignmentError<Src, Dst> { global() implementation
395 impl<Src, Dst: ?Sized> fmt::Display for AlignmentError<Src, Dst> global() implementation
414 impl<Src, Dst: ?Sized> Error for AlignmentError<Src, Dst> global() implementation
[all...]
/linux/rust/zerocopy/src/util/
H A Dmod.rs127 pub(crate) fn validate_aligned_to<T: AsAddress, U>(t: T) -> Result<(), AlignmentError<(), U>> { in validate_aligned_to() argument