pub enum Runtime {
Native,
Solana,
NW,
Node,
Web,
}Expand description
application runtime info
Variants§
Native
Native (non-WASM) execution environment.
Solana
Solana BPF on-chain runtime.
NW
NW.js desktop application runtime.
Node
Node.js runtime (WASM).
Web
Browser / web runtime (WASM).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
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