pub struct UserInIovec { /* private fields */ }Expand description
A wrapper around a userspace array of zx_iovec_t for read operations.
Implementations§
Source§impl UserInIovec
impl UserInIovec
Sourcepub const fn new(vector: UserInPtr<zx_iovec_t>, count: usize) -> Self
pub const fn new(vector: UserInPtr<zx_iovec_t>, count: usize) -> Self
Constructs a new UserInIovec.
Sourcepub fn get_total_capacity(&self) -> Result<usize, Status>
pub fn get_total_capacity(&self) -> Result<usize, Status>
Calculates the total capacity across all iovecs.
Trait Implementations§
Source§impl Clone for UserInIovec
impl Clone for UserInIovec
Source§fn clone(&self) -> UserInIovec
fn clone(&self) -> UserInIovec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserInIovec
impl Debug for UserInIovec
impl Copy for UserInIovec
Auto Trait Implementations§
impl Freeze for UserInIovec
impl RefUnwindSafe for UserInIovec
impl !Send for UserInIovec
impl !Sync for UserInIovec
impl Unpin for UserInIovec
impl UnsafeUnpin for UserInIovec
impl UnwindSafe for UserInIovec
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)