pub struct DmaPhaseError { /* private fields */ }Expand description
Error returned while constructing an owned-DMA data phase.
Implementations§
Source§impl DmaPhaseError
impl DmaPhaseError
pub const fn error(&self) -> Error
pub fn into_buffer(self) -> PreparedDma
pub fn into_parts(self) -> (Error, PreparedDma)
Trait Implementations§
Source§impl Debug for DmaPhaseError
impl Debug for DmaPhaseError
Source§impl Display for DmaPhaseError
impl Display for DmaPhaseError
Source§impl Error for DmaPhaseError
impl Error for DmaPhaseError
1.30.0 · Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for DmaPhaseError
impl !UnwindSafe for DmaPhaseError
impl Freeze for DmaPhaseError
impl Send for DmaPhaseError
impl Sync for DmaPhaseError
impl Unpin for DmaPhaseError
impl UnsafeUnpin for DmaPhaseError
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