pub trait RawAccess: RawRead {
// Required methods
fn raw_define(&self, desc: Description) -> SRes<bool>;
fn raw_begin(&self) -> SRes<RawTransaction>;
// Provided methods
fn raw_scan(&self, ty_name: &str) -> SRes<RawIter> { ... }
fn raw_read(&self, id: &str) -> SRes<Option<Record>> { ... }
}
Expand description
Trait for data operations that do not require original structs and enums source code.
Required Methods§
sourcefn raw_define(&self, desc: Description) -> SRes<bool>
fn raw_define(&self, desc: Description) -> SRes<bool>
Declare a new struct or enum from the generic description
sourcefn raw_begin(&self) -> SRes<RawTransaction>
fn raw_begin(&self) -> SRes<RawTransaction>
Begin a new raw transaction