pub struct PT_SYSCALLID(pub u16);
Expand description
A system call number
Tuple Fields§
§0: u16
Trait Implementations§
Source§impl FromBytes<'_> for SyscallId
impl FromBytes<'_> for SyscallId
Source§fn from_bytes(buf: &mut &[u8]) -> Result<SyscallId, FromBytesError>
fn from_bytes(buf: &mut &[u8]) -> Result<SyscallId, FromBytesError>
Read the binary representation of a field and return the parsed representation Read more
Source§fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> Result<Self, FromBytesError>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> Result<Self, FromBytesError>
Read the binary representation of a field from a buffer that may or may not exist Read more
Source§impl Ord for SyscallId
impl Ord for SyscallId
Source§impl PartialOrd for SyscallId
impl PartialOrd for SyscallId
Source§impl ToBytes for SyscallId
impl ToBytes for SyscallId
Source§fn binary_size(&self) -> usize
fn binary_size(&self) -> usize
Return the number of bytes needed to store the field
Source§fn write<W>(&self, writer: W) -> Result<(), Error>where
W: Write,
fn write<W>(&self, writer: W) -> Result<(), Error>where
W: Write,
Write the binary representation to
writer
Source§fn default_repr() -> impl ToBytes
fn default_repr() -> impl ToBytes
Return the default representation for the field type Read more
impl Copy for SyscallId
impl Eq for SyscallId
impl StructuralPartialEq for SyscallId
Auto Trait Implementations§
impl Freeze for SyscallId
impl RefUnwindSafe for SyscallId
impl Send for SyscallId
impl Sync for SyscallId
impl Unpin for SyscallId
impl UnwindSafe for SyscallId
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