pub struct Database {
pub metadata: Metadata,
/* private fields */
}
Fields§
§metadata: Metadata
Implementations§
Source§impl Database
impl Database
pub fn insert_value<T: Serialize>(&mut self, value: T) -> Result<DataRef, Error>
pub fn insert_node(&mut self, path: impl IntoBitPath, data: DataRef)
pub fn write_to<W: Write>(&self, writer: W) -> Result<W, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Database
impl RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl UnwindSafe for Database
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more