pub struct DmaBuf { /* private fields */ }
Expand description
Maps a DmaBuf for the CPU to access it
If the buffer size reported by the kernel (i64) cannot fit into an usize.
Will return an error if either the Buffer’s length can’t be retrieved, or if the mmap call
fails.
Formats the value using the given formatter.
Read more
Converts to this type from the input type.
Constructs a new instance of
Self from the given raw file
descriptor.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.