pub enum MemOpBuf {
Buf32 {
addr: u32,
page_cnt: u32,
},
Buf64 {
addr: u64,
page_cnt: u32,
},
}Expand description
Descriptor for a dynamically allocated memory buffer that contains the memory transaction descriptor.
Used by FFA_MEM_{DONATE,LEND,SHARE,RETRIEVE_REQ} interfaces, only when the TX buffer is not
used to transmit the transaction descriptor.
Variants§
Trait Implementations§
impl Copy for MemOpBuf
impl Eq for MemOpBuf
impl StructuralPartialEq for MemOpBuf
Auto Trait Implementations§
impl Freeze for MemOpBuf
impl RefUnwindSafe for MemOpBuf
impl Send for MemOpBuf
impl Sync for MemOpBuf
impl Unpin for MemOpBuf
impl UnwindSafe for MemOpBuf
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