Skip to main content

tests

process_mining::bindings::tests

Functions in this Module(6)

dummy_label

The label of a stored handle, taken by shared reference.
Source
fn dummy_label(h*: DummyHandle)String

Arguments

Returns

import r4pm
h = r4pm.import_item('DummyHandle','path/to/file')

res = r4pm.bindings.dummy_label(h)
Defined inprocess_mining/src/bindings/mod.rs:1513

dummy_clear_all

Drop every item in the registry: the #[bind(state_mut)] escape hatch, for a binding
that manages the registry itself (evicting items under memory pressure, say) rather than
mutating one item named by an argument.
Source
fn dummy_clear_all()i64<uint>

Returns

import r4pm


res = r4pm.bindings.dummy_clear_all()
Defined inprocess_mining/src/bindings/mod.rs:1549

dummy_log_of

A big-type result stored through the write guard, the last of the four insert sites.
Source
fn dummy_log_of(h*: DummyHandle, output_id: Option<String>)EventLog

Arguments

Returns

import r4pm
h = r4pm.import_item('DummyHandle','path/to/file')

res = r4pm.bindings.dummy_log_of(h, 'example')
Defined inprocess_mining/src/bindings/mod.rs:1540

dummy_fork

Bump a stored handle and hand back a copy of it: a handle result stored through the write
guard, which is a different insert site than dummy_new's.
Source
fn dummy_fork(h*: DummyHandle, output_id: Option<String>)DummyHandle

Arguments

Returns

import r4pm
h = r4pm.import_item('DummyHandle','path/to/file')

res = r4pm.bindings.dummy_fork(h, 'example')
Defined inprocess_mining/src/bindings/mod.rs:1533

dummy_new

Build a new handle and hand back its registry id.
Source
fn dummy_new(label*: String, output_id: Option<String>)DummyHandle

Arguments

Returns

import r4pm


res = r4pm.bindings.dummy_new('example', 'example')
Defined inprocess_mining/src/bindings/mod.rs:1526

dummy_bump

Bump a stored handle's counter in place.
Source
fn dummy_bump(h*: DummyHandle)i64<uint>

Arguments

Returns

import r4pm
h = r4pm.import_item('DummyHandle','path/to/file')

res = r4pm.bindings.dummy_bump(h)