Home
last modified time | relevance | path

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

/linux/rust/zerocopy/src/
H A Derror.rs155 pub enum ConvertError<A, S, V> { enum
164 impl<Src, Dst: ?Sized + Unaligned, S, V> From<ConvertError<AlignmentError<Src, Dst>, S, V>> implementation
165 for ConvertError<Infallible, S, V>
200 fn from(err: ConvertError<AlignmentError<Src, Dst>, S, V>) -> ConvertError<Infallible, S, V> { in from()
202 ConvertError::Alignment(e) => { in from()
204 return ConvertError::Alignment(Infallible::from(e)); in from()
206 ConvertError::Size(e) => ConvertError::Size(e), in from()
207 ConvertError::Validity(e) => ConvertError::Validity(e), in from()
212 impl<A: fmt::Debug, S: fmt::Debug, V: fmt::Debug> fmt::Debug for ConvertError<A, S, V> { implementation
228 impl<A: fmt::Display, S: fmt::Display, V: fmt::Display> fmt::Display for ConvertError<A, S, V> { implementation
[all …]