pub struct SyscallResult(pub i64);Expand description
Syscall result
Tuple Fields§
§0: i64Trait Implementations§
Source§impl Clone for SyscallResult
impl Clone for SyscallResult
Source§fn clone(&self) -> SyscallResult
fn clone(&self) -> SyscallResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyscallResult
Source§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
impl Eq for SyscallResult
Source§impl FromBytes<'_> for SyscallResult
impl FromBytes<'_> for SyscallResult
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 Hash for SyscallResult
impl Hash for SyscallResult
Source§impl LowerHex for SyscallResult
impl LowerHex 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 (const: unstable) · 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§fn eq(&self, other: &SyscallResult) -> bool
fn eq(&self, other: &SyscallResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SyscallResult
impl PartialOrd for SyscallResult
impl StructuralPartialEq for SyscallResult
Source§impl ToBytes for SyscallResult
impl ToBytes 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 UnsafeUnpin 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