#[repr(C)]pub enum Backend {
CoreClr = 0,
Mono = 1,
}Expand description
Which .NET runtime a Runtime is running on, which decides how native
pointers to managed methods are called.
Variants§
CoreClr = 0
.NET (Core) 8+, started with Runtime::coreclr or attached with
Runtime::coreclr_attach.
Mono = 1
Mono, started with Runtime::mono or attached with Runtime::mono_attach.
Its function pointers take a trailing exception argument.
Trait Implementations§
impl Copy for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Forget for Backend
impl Freeze for Backend
impl Move for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnsafeUnpin for Backend
impl UnwindSafe for Backend
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