Struct dvm_info::config::MemoryOptions [−][src]
Memory options.
Fields
module_cache: usize
Module cache size in KB. Default size is 100 MB.
vm_reset_interval: usize
Number of executions between vm reset.
Implementations
impl MemoryOptions
[src]
impl MemoryOptions
[src]pub fn module_cache(&self) -> usize
[src]
Returns the module cache size in bytes.
pub fn memory_check_period(&self) -> usize
[src]
Returns the number of execution between memory checks.
Trait Implementations
impl Clap for MemoryOptions
[src]
impl Clap for MemoryOptions
[src]pub fn parse() -> Self
[src]
pub fn try_parse() -> Result<Self, Error>
[src]
pub fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
pub fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
impl Clone for MemoryOptions
[src]
impl Clone for MemoryOptions
[src]fn clone(&self) -> MemoryOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for MemoryOptions
[src]
impl Default for MemoryOptions
[src]fn default() -> MemoryOptions
[src]
impl FromArgMatches for MemoryOptions
[src]
impl FromArgMatches for MemoryOptions
[src]fn from_arg_matches(matches: &ArgMatches) -> Self
[src]
impl IntoApp for MemoryOptions
[src]
impl IntoApp for MemoryOptions
[src]Auto Trait Implementations
impl RefUnwindSafe for MemoryOptions
impl Send for MemoryOptions
impl Sync for MemoryOptions
impl Unpin for MemoryOptions
impl UnwindSafe for MemoryOptions
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,