pub enum DotNetRuntimeCreationError {
FailedToWriteDLLBundle(Error),
LoadHostfxrError(LoadHostfxrError),
HostingError(HostingError),
IOError(Error),
}Expand description
Things that can go wrong while creating a .NET runtime
Variants§
FailedToWriteDLLBundle(Error)
An error might occur while creating the .NET DLL bundle
LoadHostfxrError(LoadHostfxrError)
An error might occur while loading the Hostfxr layer of the .NET runtime
HostingError(HostingError)
An error might occur while loading the core .NET runtime or library invocation
IOError(Error)
Any other I/O error that might occur
Trait Implementations§
Source§impl Debug for DotNetRuntimeCreationError
impl Debug for DotNetRuntimeCreationError
Source§impl Display for DotNetRuntimeCreationError
impl Display for DotNetRuntimeCreationError
Source§impl Error for DotNetRuntimeCreationError
impl Error for DotNetRuntimeCreationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<HostingError> for DotNetRuntimeCreationError
impl From<HostingError> for DotNetRuntimeCreationError
Source§fn from(source: HostingError) -> Self
fn from(source: HostingError) -> Self
Converts to this type from the input type.
Source§impl From<LoadHostfxrError> for DotNetRuntimeCreationError
impl From<LoadHostfxrError> for DotNetRuntimeCreationError
Source§fn from(source: LoadHostfxrError) -> Self
fn from(source: LoadHostfxrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DotNetRuntimeCreationError
impl !RefUnwindSafe for DotNetRuntimeCreationError
impl Send for DotNetRuntimeCreationError
impl Sync for DotNetRuntimeCreationError
impl Unpin for DotNetRuntimeCreationError
impl !UnwindSafe for DotNetRuntimeCreationError
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