pub struct UnverifiedPages<'a> { /* private fields */ }Expand description
Unverified data pages delivered from the driver to be verified.
Implementations§
Source§impl<'a> UnverifiedPages<'a>
impl<'a> UnverifiedPages<'a>
Sourcepub fn len_in_bytes(&self) -> usize
pub fn len_in_bytes(&self) -> usize
Returns the length of the payload in bytes.
Sourcepub fn len_in_pages(&self) -> usize
pub fn len_in_pages(&self) -> usize
Returns the length of the payload in pages.
Sourcepub fn delivery_offset(&self) -> u64
pub fn delivery_offset(&self) -> u64
Returns the byte offset within the shared delivery VMO.
Sourcepub fn as_ptr_byte_slice(&self) -> PtrByteSlice<'a> ⓘ
pub fn as_ptr_byte_slice(&self) -> PtrByteSlice<'a> ⓘ
Returns the underlying raw pointer byte slice to the unverified data.
Trait Implementations§
Source§impl<'a> Clone for UnverifiedPages<'a>
impl<'a> Clone for UnverifiedPages<'a>
Source§fn clone(&self) -> UnverifiedPages<'a>
fn clone(&self) -> UnverifiedPages<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for UnverifiedPages<'a>
Auto Trait Implementations§
impl<'a> Freeze for UnverifiedPages<'a>
impl<'a> RefUnwindSafe for UnverifiedPages<'a>
impl<'a> Send for UnverifiedPages<'a>
impl<'a> Sync for UnverifiedPages<'a>
impl<'a> Unpin for UnverifiedPages<'a>
impl<'a> UnsafeUnpin for UnverifiedPages<'a>
impl<'a> UnwindSafe for UnverifiedPages<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more