pub struct UnalignedSizeError;
Expand description
The error type returned when a byte slice of size that is either not equal to or not a multiple of the target type’s size is transmuted into that type.
Trait Implementations§
Source§impl Clone for UnalignedSizeError
impl Clone for UnalignedSizeError
Source§fn clone(&self) -> UnalignedSizeError
fn clone(&self) -> UnalignedSizeError
Returns a duplicate of the value. Read more
1.0.0 · 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 UnalignedSizeError
impl Debug for UnalignedSizeError
Source§impl Display for UnalignedSizeError
impl Display for UnalignedSizeError
impl Copy for UnalignedSizeError
Auto Trait Implementations§
impl Freeze for UnalignedSizeError
impl RefUnwindSafe for UnalignedSizeError
impl Send for UnalignedSizeError
impl Sync for UnalignedSizeError
impl Unpin for UnalignedSizeError
impl UnwindSafe for UnalignedSizeError
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