#[repr(C)]pub struct WriteParams {
pub len: u64,
pub ret: i64,
pub buf: GuestPhysAddr,
pub fd: i32,
}Expand description
Parameters for a FileWrite hypercall.
Fields§
§len: u64Number of bytes in the buffer to be written.
ret: i64Number of bytes written on success or errno.
buf: GuestPhysAddrBuffer to be written into the file.
fd: i32File descriptor of the file.
Trait Implementations§
Source§impl Clone for WriteParams
impl Clone for WriteParams
Source§fn clone(&self) -> WriteParams
fn clone(&self) -> WriteParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WriteParams
impl Debug for WriteParams
impl Copy for WriteParams
Auto Trait Implementations§
impl Freeze for WriteParams
impl RefUnwindSafe for WriteParams
impl Send for WriteParams
impl Sync for WriteParams
impl Unpin for WriteParams
impl UnsafeUnpin for WriteParams
impl UnwindSafe for WriteParams
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