pub struct PT_FD32(pub i32);Expand description
File descriptor (32-bit)
Tuple Fields§
§0: i32Trait Implementations§
Source§impl FromBytes<'_> for Fd32
impl FromBytes<'_> for Fd32
Source§fn from_bytes(buf: &mut &[u8]) -> Result<Fd32, FromBytesError>
fn from_bytes(buf: &mut &[u8]) -> Result<Fd32, 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 Fd32
impl Ord for Fd32
Source§impl PartialOrd for Fd32
impl PartialOrd for Fd32
Source§impl ToBytes for Fd32
impl ToBytes for Fd32
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
writerSource§fn default_repr() -> impl ToBytes
fn default_repr() -> impl ToBytes
Return the default representation for the field type Read more
impl Copy for Fd32
impl Eq for Fd32
impl StructuralPartialEq for Fd32
Auto Trait Implementations§
impl Freeze for Fd32
impl RefUnwindSafe for Fd32
impl Send for Fd32
impl Sync for Fd32
impl Unpin for Fd32
impl UnsafeUnpin for Fd32
impl UnwindSafe for Fd32
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