Struct netcorehost::hostfxr::Hostfxr[][src]

pub struct Hostfxr { /* fields omitted */ }

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]

pub fn initialize_for_dotnet_command_line_with_host_path<H: AsRef<WideCStr>>(
    &self,
    args: &[&WideCStr],
    host_path: H
) -> Result<HostfxrContext<'_>, Error>
[src]

pub fn initialize_for_dotnet_command_line_with_dotnet_root<R: AsRef<WideCStr>>(
    &self,
    args: &[&WideCStr],
    dotnet_root: R
) -> Result<HostfxrContext<'_>, Error>
[src]

pub fn initialize_for_runtime_config<P: AsRef<WideCStr>>(
    &self,
    runtime_config_path: P
) -> Result<HostfxrContext<'_>, Error>
[src]

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]

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.