#[nandoize]Expand description
Attribute macro used to generate a nanotransaction out of the given function.
This macro populates the definition of the NandoManager trait with all the functions
that have this macro as an attribute. This makes them subsequently invokable through the
NandoManager trait implementation of NandoManagerBase.
Should be used in conjunction with the PersistableDerive macro to derive structs that can be
persisted in an Object.
Examples
#[derive(PersistableDerive)]
struct TestStruct {
x: u32,
y: i32,
}
#[nandoize]
pub fn read_x(ts: &TestStruct) -> u32 {
ts.x
}