Struct netcorehost::hostfxr::HostfxrContext [−][src]
Implementations
impl<'a> HostfxrContext<'a>
[src]
pub fn get_runtime_property_value_owned<N: AsRef<WideCStr>>(
&self,
name: N
) -> Result<WideCString, Error>
[src]
&self,
name: N
) -> Result<WideCString, Error>
pub unsafe fn get_runtime_property_value_borrowed<N: AsRef<WideCStr>>(
&self,
name: N
) -> Result<&WideCStr, Error>
[src]
&self,
name: N
) -> Result<&WideCStr, Error>
pub fn set_runtime_property_value<N: AsRef<WideCStr>, V: AsRef<WideCStr>>(
&self,
name: N,
value: V
) -> Result<(), Error>
[src]
&self,
name: N,
value: V
) -> Result<(), Error>
pub unsafe fn get_runtime_properties_borrowed(
&self
) -> Result<(Vec<&WideCStr>, Vec<&WideCStr>), Error>
[src]
&self
) -> Result<(Vec<&WideCStr>, Vec<&WideCStr>), Error>
pub fn get_runtime_properties_owned(
&self
) -> Result<(Vec<WideCString>, Vec<WideCString>), Error>
[src]
&self
) -> Result<(Vec<WideCString>, Vec<WideCString>), Error>
pub fn get_runtime_properties_collected<T: FromIterator<(WideCString, WideCString)>>(
&self
) -> Result<T, Error>
[src]
&self
) -> Result<T, Error>
pub unsafe fn get_runtime_properties_as_map_borrowed(
&self
) -> Result<HashMap<&WideCStr, &WideCStr>, Error>
[src]
&self
) -> Result<HashMap<&WideCStr, &WideCStr>, Error>
pub fn get_runtime_properties_as_map_owned(
&self
) -> Result<HashMap<WideCString, WideCString>, Error>
[src]
&self
) -> Result<HashMap<WideCString, WideCString>, Error>
pub fn run_app(&self) -> HostExitCode
[src]
pub unsafe fn get_runtime_delegate(
&self,
type: hostfxr_delegate_type
) -> Result<*const (), Error>
[src]
&self,
type: hostfxr_delegate_type
) -> Result<*const (), Error>
pub fn get_load_assembly_and_get_function_pointer_delegate(
&self
) -> Result<load_assembly_and_get_function_pointer_fn, Error>
[src]
&self
) -> Result<load_assembly_and_get_function_pointer_fn, Error>
pub fn get_get_function_pointer_delegate(
&self
) -> Result<get_function_pointer_fn, Error>
[src]
&self
) -> Result<get_function_pointer_fn, Error>
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]
&self,
assembly_path: A
) -> Result<AssemblyDelegateLoader<A>, Error>
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]
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>,