Struct netcorehost::hostfxr::AppOrHostingResult
source · pub struct AppOrHostingResult(/* private fields */);
Expand description
Either the exit code of the app if it ran successful, otherwise the error from the hosting components.
Implementations§
source§impl AppOrHostingResult
impl AppOrHostingResult
sourcepub fn as_hosting_exit_code(self) -> HostingResult
pub fn as_hosting_exit_code(self) -> HostingResult
Converts the result to an hosting exit code.
Trait Implementations§
source§impl Clone for AppOrHostingResult
impl Clone for AppOrHostingResult
source§fn clone(&self) -> AppOrHostingResult
fn clone(&self) -> AppOrHostingResult
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 AppOrHostingResult
impl Debug for AppOrHostingResult
source§impl From<AppOrHostingResult> for i32
impl From<AppOrHostingResult> for i32
source§fn from(code: AppOrHostingResult) -> Self
fn from(code: AppOrHostingResult) -> Self
Converts to this type from the input type.
source§impl From<i32> for AppOrHostingResult
impl From<i32> for AppOrHostingResult
source§impl Hash for AppOrHostingResult
impl Hash for AppOrHostingResult
source§impl Ord for AppOrHostingResult
impl Ord for AppOrHostingResult
source§fn cmp(&self, other: &AppOrHostingResult) -> Ordering
fn cmp(&self, other: &AppOrHostingResult) -> 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 AppOrHostingResult
impl PartialEq for AppOrHostingResult
source§fn eq(&self, other: &AppOrHostingResult) -> bool
fn eq(&self, other: &AppOrHostingResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AppOrHostingResult
impl PartialOrd for AppOrHostingResult
source§fn partial_cmp(&self, other: &AppOrHostingResult) -> Option<Ordering>
fn partial_cmp(&self, other: &AppOrHostingResult) -> 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 AppOrHostingResult
impl Eq for AppOrHostingResult
impl StructuralPartialEq for AppOrHostingResult
Auto Trait Implementations§
impl RefUnwindSafe for AppOrHostingResult
impl Send for AppOrHostingResult
impl Sync for AppOrHostingResult
impl Unpin for AppOrHostingResult
impl UnwindSafe for AppOrHostingResult
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