Struct netsblox_vm::runtime::Settings
source · pub struct Settings {
pub max_call_depth: usize,
pub rpc_error_scheme: ErrorScheme,
pub syscall_error_scheme: ErrorScheme,
}Expand description
Settings to use for a Process.
Fields§
§max_call_depth: usizeThe maximum depth of the call stack (default 1024).
rpc_error_scheme: ErrorSchemeThe error pattern to use for rpc errors (default ErrorScheme::Hard).
syscall_error_scheme: ErrorSchemeThe error pattern to use for syscall errors (default ErrorScheme::Hard).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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