#[repr(transparent)]pub struct ExitCode(pub i32);Tuple Fields§
§0: i32Trait Implementations§
Source§impl Termination for ExitCode
impl Termination for ExitCode
Source§fn report(self) -> ProcessExitCode
fn report(self) -> ProcessExitCode
Is called to get the representation of the value as status code.
This status code is returned to the operating system.
impl Copy for ExitCode
Auto Trait Implementations§
impl Freeze for ExitCode
impl RefUnwindSafe for ExitCode
impl Send for ExitCode
impl Sync for ExitCode
impl Unpin for ExitCode
impl UnsafeUnpin for ExitCode
impl UnwindSafe for ExitCode
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