#[repr(C, packed(1))]pub struct CloseParams {
pub fd: i32,
pub ret: i32,
}
Expand description
Parameters for a FileClose
hypercall.
Fields§
§fd: i32
File descriptor of the file.
ret: i32
Zero on success, -1
on failure.
Trait Implementations§
Source§impl Clone for CloseParams
impl Clone for CloseParams
Source§fn clone(&self) -> CloseParams
fn clone(&self) -> CloseParams
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 CloseParams
impl Debug for CloseParams
impl Copy for CloseParams
Auto Trait Implementations§
impl Freeze for CloseParams
impl RefUnwindSafe for CloseParams
impl Send for CloseParams
impl Sync for CloseParams
impl Unpin for CloseParams
impl UnwindSafe for CloseParams
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