pub enum BufferSlice<'a> {
VmoId {
vmo_id: &'a VmoId,
offset: u64,
length: u64,
},
Memory(&'a [u8]),
}
Variants§
Implementations§
Source§impl<'a> BufferSlice<'a>
impl<'a> BufferSlice<'a>
pub fn new_with_vmo_id(vmo_id: &'a VmoId, offset: u64, length: u64) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BufferSlice<'a>
impl<'a> RefUnwindSafe for BufferSlice<'a>
impl<'a> Send for BufferSlice<'a>
impl<'a> Sync for BufferSlice<'a>
impl<'a> Unpin for BufferSlice<'a>
impl<'a> UnwindSafe for BufferSlice<'a>
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