pub struct SendtoArgs {
pub sockfd: RawFd,
pub buf: InspectResult<Vec<u8>>,
pub flags: c_int,
pub dest_addr: InspectResult<Option<sockaddr>>,
}Fields§
§sockfd: RawFd§buf: InspectResult<Vec<u8>>§flags: c_int§dest_addr: InspectResult<Option<sockaddr>>Trait Implementations§
Source§impl Clone for SendtoArgs
impl Clone for SendtoArgs
Source§fn clone(&self) -> SendtoArgs
fn clone(&self) -> SendtoArgs
Returns a duplicate 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 SendtoArgs
impl Debug for SendtoArgs
Source§impl From<SendtoArgs> for SyscallArgs
impl From<SendtoArgs> for SyscallArgs
Source§fn from(args: SendtoArgs) -> Self
fn from(args: SendtoArgs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SendtoArgs
impl PartialEq for SendtoArgs
Source§impl SyscallGroupsGetter for SendtoArgs
impl SyscallGroupsGetter for SendtoArgs
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for SendtoArgs
impl SyscallNumber for SendtoArgs
fn syscall_number(&self) -> isize
impl StructuralPartialEq for SendtoArgs
Auto Trait Implementations§
impl Freeze for SendtoArgs
impl RefUnwindSafe for SendtoArgs
impl Send for SendtoArgs
impl Sync for SendtoArgs
impl Unpin for SendtoArgs
impl UnwindSafe for SendtoArgs
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