Struct twizzler_runtime_api::BasicReturn
source · #[repr(C)]pub struct BasicReturn {
pub code: i32,
}
Expand description
Return value returned by std from LibStdEntry
Fields§
§code: i32
Exit code. 0 is success, non-zero is application-defined.
Trait Implementations§
source§impl Clone for BasicReturn
impl Clone for BasicReturn
source§fn clone(&self) -> BasicReturn
fn clone(&self) -> BasicReturn
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 BasicReturn
impl Debug for BasicReturn
source§impl Ord for BasicReturn
impl Ord for BasicReturn
source§fn cmp(&self, other: &BasicReturn) -> Ordering
fn cmp(&self, other: &BasicReturn) -> 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<BasicReturn> for BasicReturn
impl PartialEq<BasicReturn> for BasicReturn
source§fn eq(&self, other: &BasicReturn) -> bool
fn eq(&self, other: &BasicReturn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BasicReturn> for BasicReturn
impl PartialOrd<BasicReturn> for BasicReturn
source§fn partial_cmp(&self, other: &BasicReturn) -> Option<Ordering>
fn partial_cmp(&self, other: &BasicReturn) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BasicReturn
impl Eq for BasicReturn
impl StructuralEq for BasicReturn
impl StructuralPartialEq for BasicReturn
Auto Trait Implementations§
impl RefUnwindSafe for BasicReturn
impl Send for BasicReturn
impl Sync for BasicReturn
impl Unpin for BasicReturn
impl UnwindSafe for BasicReturn
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