pub struct Pid32(pub i32);Expand description
Process or thread id (32-bit)
Tuple Fields§
§0: i32Trait Implementations§
Source§impl FromBytes<'_> for Pid32
impl FromBytes<'_> for Pid32
Source§fn from_bytes(buf: &mut &[u8]) -> Result<Self, FromBytesError>where
Self: Sized,
fn from_bytes(buf: &mut &[u8]) -> Result<Self, FromBytesError>where
Self: Sized,
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 Pid32
impl Ord for Pid32
Source§impl PartialOrd for Pid32
impl PartialOrd for Pid32
impl Copy for Pid32
impl Eq for Pid32
impl StructuralPartialEq for Pid32
Auto Trait Implementations§
impl Freeze for Pid32
impl RefUnwindSafe for Pid32
impl Send for Pid32
impl Sync for Pid32
impl Unpin for Pid32
impl UnsafeUnpin for Pid32
impl UnwindSafe for Pid32
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