#[repr(C)]pub struct FstatParams {
pub fd: i32,
pub attr: GuestPhysAddr,
pub ret: StatResult,
}Expand description
Parameters for a FileFstat hypercall.
Fields§
§fd: i32Guest file descriptor (from FileOpen).
attr: GuestPhysAddrGuest buffer to write the resulting FileAttr into.
ret: StatResultReturn value of the hypercall.
Trait Implementations§
Source§impl Clone for FstatParams
impl Clone for FstatParams
Source§fn clone(&self) -> FstatParams
fn clone(&self) -> FstatParams
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 Copy for FstatParams
Auto Trait Implementations§
impl Freeze for FstatParams
impl RefUnwindSafe for FstatParams
impl Send for FstatParams
impl Sync for FstatParams
impl Unpin for FstatParams
impl UnsafeUnpin for FstatParams
impl UnwindSafe for FstatParams
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