Enum dma_buf::BufferError
source · pub enum BufferError {
FdAccess {
reason: String,
source: Error,
},
Closure(Box<dyn Error>),
}
Expand description
Error type to access a MappedDmaBuf
Variants§
FdAccess
An Error occured while accessing the buffer file descriptor
Closure(Box<dyn Error>)
An Error occured in the closure
Trait Implementations§
source§impl Debug for BufferError
impl Debug for BufferError
source§impl Display for BufferError
impl Display for BufferError
source§impl Error for BufferError
impl Error for BufferError
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 Freeze for BufferError
impl !RefUnwindSafe for BufferError
impl !Send for BufferError
impl !Sync for BufferError
impl Unpin for BufferError
impl !UnwindSafe for BufferError
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