#[repr(C, packed(1))]pub struct LseekParams {
pub fd: i32,
pub offset: isize,
pub whence: i32,
}
Expand description
Parameters for a FileLseek
hypercall
Fields§
§fd: i32
File descriptor of the file.
offset: isize
Offset in the file.
whence: i32
whence
value of the lseek call.
Trait Implementations§
Source§impl Clone for LseekParams
impl Clone for LseekParams
Source§fn clone(&self) -> LseekParams
fn clone(&self) -> LseekParams
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 LseekParams
impl Debug for LseekParams
impl Copy for LseekParams
Auto Trait Implementations§
impl Freeze for LseekParams
impl RefUnwindSafe for LseekParams
impl Send for LseekParams
impl Sync for LseekParams
impl Unpin for LseekParams
impl UnwindSafe for LseekParams
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