#[repr(C, packed(1))]pub struct UnlinkParams {
pub name: GuestPhysAddr,
pub ret: i32,
}
Expand description
Parameters for a FileUnlink
hypercall.
Fields§
§name: GuestPhysAddr
Address of the file that should be unlinked.
ret: i32
On success, 0
is returned. On error, -1
is returned.
Trait Implementations§
Source§impl Clone for UnlinkParams
impl Clone for UnlinkParams
Source§fn clone(&self) -> UnlinkParams
fn clone(&self) -> UnlinkParams
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 UnlinkParams
impl Debug for UnlinkParams
impl Copy for UnlinkParams
Auto Trait Implementations§
impl Freeze for UnlinkParams
impl RefUnwindSafe for UnlinkParams
impl Send for UnlinkParams
impl Sync for UnlinkParams
impl Unpin for UnlinkParams
impl UnwindSafe for UnlinkParams
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