Struct netcorehost::hostfxr::HostfxrContext[][src]

pub struct HostfxrContext<'a> { /* fields omitted */ }

Implementations

impl<'a> HostfxrContext<'a>[src]

pub fn get_runtime_property_value_owned<N: AsRef<WideCStr>>(
    &self,
    name: N
) -> Result<WideCString, Error>
[src]

pub unsafe fn get_runtime_property_value_borrowed<N: AsRef<WideCStr>>(
    &self,
    name: N
) -> Result<&WideCStr, Error>
[src]

pub fn set_runtime_property_value<N: AsRef<WideCStr>, V: AsRef<WideCStr>>(
    &self,
    name: N,
    value: V
) -> Result<(), Error>
[src]

pub unsafe fn get_runtime_properties_borrowed(
    &self
) -> Result<(Vec<&WideCStr>, Vec<&WideCStr>), Error>
[src]

pub fn get_runtime_properties_owned(
    &self
) -> Result<(Vec<WideCString>, Vec<WideCString>), Error>
[src]

pub fn get_runtime_properties_collected<T: FromIterator<(WideCString, WideCString)>>(
    &self
) -> Result<T, Error>
[src]

pub unsafe fn get_runtime_properties_as_map_borrowed(
    &self
) -> Result<HashMap<&WideCStr, &WideCStr>, Error>
[src]

pub fn get_runtime_properties_as_map_owned(
    &self
) -> Result<HashMap<WideCString, WideCString>, Error>
[src]

pub fn run_app(&self) -> HostExitCode[src]

pub unsafe fn get_runtime_delegate(
    &self,
    type: hostfxr_delegate_type
) -> Result<*const (), Error>
[src]

pub fn get_load_assembly_and_get_function_pointer_delegate(
    &self
) -> Result<load_assembly_and_get_function_pointer_fn, Error>
[src]

pub fn get_get_function_pointer_delegate(
    &self
) -> Result<get_function_pointer_fn, Error>
[src]

pub fn get_delegate_loader(&self) -> Result<DelegateLoader, Error>[src]

pub fn get_delegate_loader_for_assembly<A: AsRef<WideCStr>>(
    &self,
    assembly_path: A
) -> Result<AssemblyDelegateLoader<A>, Error>
[src]

Trait Implementations

impl Drop for HostfxrContext<'_>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for HostfxrContext<'a>

impl<'a> !Send for HostfxrContext<'a>

impl<'a> !Sync for HostfxrContext<'a>

impl<'a> Unpin for HostfxrContext<'a>

impl<'a> UnwindSafe for HostfxrContext<'a>

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.