pub enum DmaAlignmentError {
Address,
Size,
}Available on crate feature
unstable only.Expand description
DMA buffer alignment errors.
Variants§
Trait Implementations§
Source§impl Clone for DmaAlignmentError
impl Clone for DmaAlignmentError
Source§fn clone(&self) -> DmaAlignmentError
fn clone(&self) -> DmaAlignmentError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DmaAlignmentError
impl Debug for DmaAlignmentError
Source§impl Display for DmaAlignmentError
impl Display for DmaAlignmentError
Source§impl Error for DmaAlignmentError
impl Error for DmaAlignmentError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<DmaAlignmentError> for DmaBufError
impl From<DmaAlignmentError> for DmaBufError
Source§fn from(err: DmaAlignmentError) -> Self
fn from(err: DmaAlignmentError) -> Self
Converts to this type from the input type.
Source§impl Hash for DmaAlignmentError
impl Hash for DmaAlignmentError
Source§impl PartialEq for DmaAlignmentError
impl PartialEq for DmaAlignmentError
impl Copy for DmaAlignmentError
impl Eq for DmaAlignmentError
impl StructuralPartialEq for DmaAlignmentError
Auto Trait Implementations§
impl Freeze for DmaAlignmentError
impl RefUnwindSafe for DmaAlignmentError
impl Send for DmaAlignmentError
impl Sync for DmaAlignmentError
impl Unpin for DmaAlignmentError
impl UnsafeUnpin for DmaAlignmentError
impl UnwindSafe for DmaAlignmentError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)