pub struct PT_ERRNO(pub i64);
Expand description
Syscall result
Tuple Fields§
§0: i64
Trait Implementations§
source§impl Clone for SyscallResult
impl Clone for SyscallResult
source§fn clone(&self) -> SyscallResult
fn clone(&self) -> SyscallResult
Returns a copy 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 SyscallResult
impl Debug for SyscallResult
source§impl Default for SyscallResult
impl Default for SyscallResult
source§fn default() -> SyscallResult
fn default() -> SyscallResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SyscallResult
impl<'de> Deserialize<'de> for SyscallResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<F> Format<F> for SyscallResult
impl<F> Format<F> for SyscallResult
source§impl FromBytes<'_> for SyscallResult
impl FromBytes<'_> for SyscallResult
source§fn from_bytes(buf: &mut &[u8]) -> FromBytesResult<Self>where
Self: Sized,
fn from_bytes(buf: &mut &[u8]) -> FromBytesResult<Self>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]>) -> FromBytesResult<Self>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
Read the binary representation of a field from a buffer that may or may not exist Read more
source§impl Hash for SyscallResult
impl Hash for SyscallResult
source§impl Ord for SyscallResult
impl Ord for SyscallResult
source§fn cmp(&self, other: &SyscallResult) -> Ordering
fn cmp(&self, other: &SyscallResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SyscallResult
impl PartialEq for SyscallResult
source§impl PartialOrd for SyscallResult
impl PartialOrd for SyscallResult
source§impl Serialize for SyscallResult
impl Serialize for SyscallResult
source§impl ToBytes for SyscallResult
impl ToBytes for SyscallResult
impl Copy for SyscallResult
impl Eq for SyscallResult
impl StructuralPartialEq for SyscallResult
Auto Trait Implementations§
impl Freeze for SyscallResult
impl RefUnwindSafe for SyscallResult
impl Send for SyscallResult
impl Sync for SyscallResult
impl Unpin for SyscallResult
impl UnwindSafe for SyscallResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)