Struct dvm_info::memory_check::MemoryChecker [−][src]
pub struct MemoryChecker { /* fields omitted */ }
Dvm memory limits checker.
Implementations
impl MemoryChecker
[src]
impl MemoryChecker
[src]pub fn new(options: MemoryOptions) -> MemoryChecker
[src]
Constructor.
pub fn is_limit_exceeded(&self) -> bool
[src]
Returns true
if the amount of memory exceeds the limit.
Auto Trait Implementations
impl RefUnwindSafe for MemoryChecker
impl Send for MemoryChecker
impl Sync for MemoryChecker
impl Unpin for MemoryChecker
impl UnwindSafe for MemoryChecker
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>,