#[repr(C)]pub struct StatParams {
pub name: GuestPhysAddr,
pub kind: StatKind,
pub attr: GuestPhysAddr,
pub ret: StatResult,
}Expand description
Parameters for a FileStat hypercall.
Fields§
§name: GuestPhysAddrPath to stat. Must be a null-terminated UTF-8 string.
kind: StatKindWhether to follow symlinks on the host.
attr: GuestPhysAddrGuest buffer to write the resulting FileAttr into.
ret: StatResultReturn value of the hypercall.
Trait Implementations§
Source§impl Clone for StatParams
impl Clone for StatParams
Source§fn clone(&self) -> StatParams
fn clone(&self) -> StatParams
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 StatParams
Auto Trait Implementations§
impl Freeze for StatParams
impl RefUnwindSafe for StatParams
impl Send for StatParams
impl Sync for StatParams
impl Unpin for StatParams
impl UnsafeUnpin for StatParams
impl UnwindSafe for StatParams
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