#[non_exhaustive]#[repr(i32)]pub enum hostfxr_delegate_type {
hdt_com_activation = 0,
hdt_load_in_memory_assembly = 1,
hdt_com_register = 3,
hdt_com_unregister = 4,
hdt_load_assembly_and_get_function_pointer = 5,
hdt_get_function_pointer = 6,
hdt_load_assembly = 7,
hdt_load_assembly_bytes = 8,
}Available on crate feature
netcore3_0 only.Expand description
Enum representing the type of runtime functionality requested with hostfxr_get_runtime_delegate.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
hdt_com_activation = 0
hdt_load_in_memory_assembly = 1
IJW entry-point
hdt_com_register = 3
hdt_com_unregister = 4
hdt_load_assembly_and_get_function_pointer = 5
Entry point which loads an assembly (with dependencies) and returns a function pointer for a specified static method.
hdt_get_function_pointer = 6
Available on crate feature
net5_0 only.Entry-point which finds a managed method and returns a function pointer to it.
hdt_load_assembly = 7
Available on crate feature
net8_0 only.Entry-point which loads an assembly by its path.
hdt_load_assembly_bytes = 8
Available on crate feature
net8_0 only.Entry-point which loads an assembly from a byte array.
Trait Implementations§
Source§impl Clone for hostfxr_delegate_type
impl Clone for hostfxr_delegate_type
Source§fn clone(&self) -> hostfxr_delegate_type
fn clone(&self) -> hostfxr_delegate_type
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for hostfxr_delegate_type
impl Debug for hostfxr_delegate_type
Source§impl PartialEq for hostfxr_delegate_type
impl PartialEq for hostfxr_delegate_type
impl Copy for hostfxr_delegate_type
impl Eq for hostfxr_delegate_type
impl StructuralPartialEq for hostfxr_delegate_type
Auto Trait Implementations§
impl Freeze for hostfxr_delegate_type
impl RefUnwindSafe for hostfxr_delegate_type
impl Send for hostfxr_delegate_type
impl Sync for hostfxr_delegate_type
impl Unpin for hostfxr_delegate_type
impl UnwindSafe for hostfxr_delegate_type
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