Trait nando_lib::nando_manager::NandoManager
source · pub trait NandoManager {
// Required methods
fn put_nando<V: Persistable + Copy + Debug>(
ctx: &TxnContext,
object_arg_mappings: &Vec<ObjectMapping>,
log_entry: Arc<RefCell<TransactionLogEntry>>,
bucket: &mut StorageBucket<V>,
key: String,
value: V
);
fn get_nando<V: Persistable + Copy + 'static>(
ctx: &TxnContext,
object_arg_mappings: &Vec<ObjectMapping>,
log_entry: Arc<RefCell<TransactionLogEntry>>,
bucket: &StorageBucket<V>,
key: String
) -> Option<V>;
fn set_key_nando(
ctx: &TxnContext,
object_arg_mappings: &Vec<ObjectMapping>,
log_entry: Arc<RefCell<TransactionLogEntry>>,
v: &mut SmallStruct,
k: u64
);
fn get_key_nando(
ctx: &TxnContext,
object_arg_mappings: &Vec<ObjectMapping>,
log_entry: Arc<RefCell<TransactionLogEntry>>,
v: &SmallStruct
) -> u64;
fn add_elem_nando(
ctx: &TxnContext,
object_arg_mappings: &Vec<ObjectMapping>,
log_entry: Arc<RefCell<TransactionLogEntry>>,
v: &mut SmallStruct,
e: u64
);
fn print_elems_nando(
ctx: &TxnContext,
object_arg_mappings: &Vec<ObjectMapping>,
log_entry: Arc<RefCell<TransactionLogEntry>>,
v: &SmallStruct
);
}Required Methods§
fn put_nando<V: Persistable + Copy + Debug>( ctx: &TxnContext, object_arg_mappings: &Vec<ObjectMapping>, log_entry: Arc<RefCell<TransactionLogEntry>>, bucket: &mut StorageBucket<V>, key: String, value: V )
fn get_nando<V: Persistable + Copy + 'static>( ctx: &TxnContext, object_arg_mappings: &Vec<ObjectMapping>, log_entry: Arc<RefCell<TransactionLogEntry>>, bucket: &StorageBucket<V>, key: String ) -> Option<V>
fn set_key_nando( ctx: &TxnContext, object_arg_mappings: &Vec<ObjectMapping>, log_entry: Arc<RefCell<TransactionLogEntry>>, v: &mut SmallStruct, k: u64 )
fn get_key_nando( ctx: &TxnContext, object_arg_mappings: &Vec<ObjectMapping>, log_entry: Arc<RefCell<TransactionLogEntry>>, v: &SmallStruct ) -> u64
fn add_elem_nando( ctx: &TxnContext, object_arg_mappings: &Vec<ObjectMapping>, log_entry: Arc<RefCell<TransactionLogEntry>>, v: &mut SmallStruct, e: u64 )
fn print_elems_nando( ctx: &TxnContext, object_arg_mappings: &Vec<ObjectMapping>, log_entry: Arc<RefCell<TransactionLogEntry>>, v: &SmallStruct )
Object Safety§
This trait is not object safe.