#[repr(C)]pub struct GetdentParams {
pub fd: i32,
pub buf: GuestPhysAddr,
pub len: u64,
pub ret: GetdentResult,
}Expand description
Parameters for a Getdent hypercall.
Fields§
§fd: i32Guest file descriptor of the directory (from FileOpen with O_DIRECTORY).
buf: GuestPhysAddrBuffer to write to.
len: u64Length of the buffer.
ret: GetdentResultReturn value of the hypercall.
Trait Implementations§
Source§impl Clone for GetdentParams
impl Clone for GetdentParams
Source§fn clone(&self) -> GetdentParams
fn clone(&self) -> GetdentParams
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 GetdentParams
Auto Trait Implementations§
impl Freeze for GetdentParams
impl RefUnwindSafe for GetdentParams
impl Send for GetdentParams
impl Sync for GetdentParams
impl Unpin for GetdentParams
impl UnsafeUnpin for GetdentParams
impl UnwindSafe for GetdentParams
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