Home
last modified time | relevance | path

Searched refs:with_src (Results 1 – 3 of 3) sorted by relevance

/linux/rust/zerocopy/src/
H A Dref.rs215 return Err(err.with_src(bytes).into()); in sized_from()
233 return Err(err.with_src(bytes).into()); in sized_from_prefix()
258 return Err(err.with_src(bytes).into()); in sized_from_suffix()
316 return Err(e.with_src(()).with_src(source)); in from_bytes()
372 return Err(e.with_src(()).with_src(source)); in from_prefix()
437 let e = e.with_src(()); in from_suffix()
438 return Err(e.with_src(source)); in from_suffix()
H A Derror.rs277 pub(crate) fn with_src<NewSrc>(self, new_src: NewSrc) -> AlignmentError<NewSrc, Dst> { in with_src() method
450 pub(crate) fn with_src<NewSrc>(self, new_src: NewSrc) -> SizeError<NewSrc, Dst> { in with_src() method
744 pub(crate) fn with_src<NewSrc>(self, new_src: NewSrc) -> CastError<NewSrc, Dst> { in with_src() method
746 Self::Alignment(e) => CastError::Alignment(e.with_src(new_src)), in with_src()
747 Self::Size(e) => CastError::Size(e.with_src(new_src)), in with_src()
/linux/rust/zerocopy/src/pointer/
H A Dptr.rs687 return Err(err.with_src(self)); in try_into_aligned()