Struct netcorehost::hostfxr::Hostfxr [−][src]
Implementations
impl Hostfxr
[src]
pub fn load_from_path<T: AsRef<OsStr>>(path: T) -> Result<Self, Error>
[src]
pub fn initialize_for_dotnet_command_line(
&self,
args: &[&WideCStr]
) -> Result<HostfxrContext<'_>, Error>
[src]
&self,
args: &[&WideCStr]
) -> Result<HostfxrContext<'_>, Error>
pub fn initialize_for_dotnet_command_line_with_host_path<H: AsRef<WideCStr>>(
&self,
args: &[&WideCStr],
host_path: H
) -> Result<HostfxrContext<'_>, Error>
[src]
&self,
args: &[&WideCStr],
host_path: H
) -> Result<HostfxrContext<'_>, Error>
pub fn initialize_for_dotnet_command_line_with_dotnet_root<R: AsRef<WideCStr>>(
&self,
args: &[&WideCStr],
dotnet_root: R
) -> Result<HostfxrContext<'_>, Error>
[src]
&self,
args: &[&WideCStr],
dotnet_root: R
) -> Result<HostfxrContext<'_>, Error>
pub fn initialize_for_runtime_config<P: AsRef<WideCStr>>(
&self,
runtime_config_path: P
) -> Result<HostfxrContext<'_>, Error>
[src]
&self,
runtime_config_path: P
) -> Result<HostfxrContext<'_>, Error>
pub fn initialize_for_runtime_config_with_host_path<P: AsRef<WideCStr>, H: AsRef<WideCStr>>(
&self,
runtime_config_path: P,
host_path: H
) -> Result<HostfxrContext<'_>, Error>
[src]
&self,
runtime_config_path: P,
host_path: H
) -> Result<HostfxrContext<'_>, Error>
pub fn initialize_for_runtime_config_with_dotnet_root<P: AsRef<WideCStr>, R: AsRef<WideCStr>>(
&self,
runtime_config_path: P,
dotnet_root: R
) -> Result<HostfxrContext<'_>, Error>
[src]
&self,
runtime_config_path: P,
dotnet_root: R
) -> Result<HostfxrContext<'_>, Error>
Auto Trait Implementations
impl RefUnwindSafe for Hostfxr
impl Send for Hostfxr
impl Sync for Hostfxr
impl Unpin for Hostfxr
impl UnwindSafe for Hostfxr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,