pub struct Ciovec<'a> {
pub buf: GuestPtr<'a, u8>,
pub buf_len: Size,
}
Fields§
§buf: GuestPtr<'a, u8>
§buf_len: Size
Implementations§
source§impl<'a> Ciovec<'a>
impl<'a> Ciovec<'a>
pub const fn offset_of_buf() -> u32
pub const fn offset_of_buf_len() -> u32
Trait Implementations§
source§impl<'a> GuestType<'a> for Ciovec<'a>
impl<'a> GuestType<'a> for Ciovec<'a>
source§fn guest_size() -> u32
fn guest_size() -> u32
Returns the size, in bytes, of this type in the guest memory.
source§fn guest_align() -> usize
fn guest_align() -> usize
Returns the required alignment of this type, in bytes, for both guest
and host memory.
Auto Trait Implementations§
impl<'a> Freeze for Ciovec<'a>
impl<'a> !RefUnwindSafe for Ciovec<'a>
impl<'a> Send for Ciovec<'a>
impl<'a> Sync for Ciovec<'a>
impl<'a> Unpin for Ciovec<'a>
impl<'a> !UnwindSafe for Ciovec<'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> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more