Skip to content
API REFERENCEUsage guides →

cellpack::runtime::Runtime ​

struct

Module contract · All interfaces

At a glance ​

pub struct Runtime { /* private fields */ }

The bound process settings.

Holds the kernel set for the process lifetime (&'static, so no handle needs cloning) and the options it was bound with, which init uses to reject a second, conflicting binding.

Member index ​

2 of 2 members

  • optionsThe options this binding was created with (not the ISA it resolved to; see Runtime::isa ).
  • isaThe ISA of the bound kernel set.

Methods and associated constants ​

options ​

pub fn options(&self) -> RuntimeOptions

The options this binding was created with (not the ISA it resolved to; see Runtime::isa).

isa ​

pub fn isa(&self) -> Isa

The ISA of the bound kernel set.

Implemented traits ​

impl Debug for Runtime

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition