Enum netcorehost::nethost::LoadHostfxrError
source · pub enum LoadHostfxrError {
Hosting(HostingError),
DlOpen(Error),
}
Expand description
Enum for errors that can occur while locating and loading the hostfxr library.
Variants§
Hosting(HostingError)
An error occured inside the hosting components.
DlOpen(Error)
An error occured while loading the hostfxr library.
Trait Implementations§
source§impl Debug for LoadHostfxrError
impl Debug for LoadHostfxrError
source§impl Display for LoadHostfxrError
impl Display for LoadHostfxrError
source§impl Error for LoadHostfxrError
impl Error for LoadHostfxrError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for LoadHostfxrError
impl From<Error> for LoadHostfxrError
source§impl From<HostingError> for LoadHostfxrError
impl From<HostingError> for LoadHostfxrError
source§fn from(source: HostingError) -> Self
fn from(source: HostingError) -> Self
Converts to this type from the input type.
source§impl From<LoadHostfxrError> for Error
impl From<LoadHostfxrError> for Error
source§fn from(source: LoadHostfxrError) -> Self
fn from(source: LoadHostfxrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LoadHostfxrError
impl Send for LoadHostfxrError
impl Sync for LoadHostfxrError
impl Unpin for LoadHostfxrError
impl !UnwindSafe for LoadHostfxrError
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