pub enum MisalignmentErrorType {
PotentiallyUnintendedDataTransfer,
PotentiallyUnintendedDataAccess,
PotentiallyUnintendedDestructiveActivity,
Other,
String(String),
}Variants§
PotentiallyUnintendedDataTransfer
PotentiallyUnintendedDataAccess
PotentiallyUnintendedDestructiveActivity
Other
String(String)
Trait Implementations§
Source§impl Clone for MisalignmentErrorType
impl Clone for MisalignmentErrorType
Source§fn clone(&self) -> MisalignmentErrorType
fn clone(&self) -> MisalignmentErrorType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MisalignmentErrorType
impl Debug for MisalignmentErrorType
Source§impl<'de> Deserialize<'de> for MisalignmentErrorType
impl<'de> Deserialize<'de> for MisalignmentErrorType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MisalignmentErrorType
impl PartialEq for MisalignmentErrorType
Source§impl Serialize for MisalignmentErrorType
impl Serialize for MisalignmentErrorType
impl StructuralPartialEq for MisalignmentErrorType
Auto Trait Implementations§
impl Freeze for MisalignmentErrorType
impl RefUnwindSafe for MisalignmentErrorType
impl Send for MisalignmentErrorType
impl Sync for MisalignmentErrorType
impl Unpin for MisalignmentErrorType
impl UnsafeUnpin for MisalignmentErrorType
impl UnwindSafe for MisalignmentErrorType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more