pub struct SyncFileRangeArgs {
pub fd: RawFd,
pub offset: off_t,
pub nbytes: off_t,
pub flags: c_uint,
}Fields§
§fd: RawFd§offset: off_t§nbytes: off_t§flags: c_uintTrait Implementations§
Source§impl Clone for SyncFileRangeArgs
impl Clone for SyncFileRangeArgs
Source§fn clone(&self) -> SyncFileRangeArgs
fn clone(&self) -> SyncFileRangeArgs
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 moreSource§impl Debug for SyncFileRangeArgs
impl Debug for SyncFileRangeArgs
Source§impl From<SyncFileRangeArgs> for SyscallArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
impl From<SyncFileRangeArgs> for SyscallArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
Source§fn from(args: SyncFileRangeArgs) -> Self
fn from(args: SyncFileRangeArgs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SyncFileRangeArgs
impl PartialEq for SyncFileRangeArgs
Source§fn eq(&self, other: &SyncFileRangeArgs) -> bool
fn eq(&self, other: &SyncFileRangeArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SyscallGroupsGetter for SyncFileRangeArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
impl SyscallGroupsGetter for SyncFileRangeArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for SyncFileRangeArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
impl SyscallNumber for SyncFileRangeArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
fn syscall_number(&self) -> isize
impl StructuralPartialEq for SyncFileRangeArgs
Auto Trait Implementations§
impl Freeze for SyncFileRangeArgs
impl RefUnwindSafe for SyncFileRangeArgs
impl Send for SyncFileRangeArgs
impl Sync for SyncFileRangeArgs
impl Unpin for SyncFileRangeArgs
impl UnsafeUnpin for SyncFileRangeArgs
impl UnwindSafe for SyncFileRangeArgs
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