#[repr(C, packed(1))]pub struct OpenParams {
pub name: GuestPhysAddr,
pub flags: i32,
pub mode: i32,
pub ret: i32,
}
Expand description
Parameters for a FileOpen
hypercall.
Fields§
§name: GuestPhysAddr
Pathname of the file to be opened.
flags: i32
Posix file access mode flags.
mode: i32
Access permissions upon opening/creating a file.
ret: i32
File descriptor upon successful opening or -1
upon failure.
Trait Implementations§
Source§impl Clone for OpenParams
impl Clone for OpenParams
Source§fn clone(&self) -> OpenParams
fn clone(&self) -> OpenParams
Returns a copy 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 OpenParams
impl Debug for OpenParams
impl Copy for OpenParams
Auto Trait Implementations§
impl Freeze for OpenParams
impl RefUnwindSafe for OpenParams
impl Send for OpenParams
impl Sync for OpenParams
impl Unpin for OpenParams
impl UnwindSafe for OpenParams
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