Trait mtbl::Write
[−]
[src]
pub trait Write {
fn add<T, U>(&mut self, key: T, value: U) -> Result<(), ()> where T: AsRef<[u8]>, U: AsRef<[u8]>;
}
A trait for objects that can write an MTBL file.
Required Methods
fn add<T, U>(&mut self, key: T, value: U) -> Result<(), ()> where T: AsRef<[u8]>, U: AsRef<[u8]>
Add a key/value pair to the MTBL file.