Trait gchdb::ChatRecoder [−][src]
Required methods
fn insert_or_update_record<R>(
&mut self,
record: R,
merger: Option<Box<dyn Fn(Vec<u8>, Vec<u8>) -> Option<Vec<u8>>>>
) -> Result<bool, ChatRecordError> where
R: Into<RecordType<'a>>,
[src]
&mut self,
record: R,
merger: Option<Box<dyn Fn(Vec<u8>, Vec<u8>) -> Option<Vec<u8>>>>
) -> Result<bool, ChatRecordError> where
R: Into<RecordType<'a>>,
fn remove_record<R: Into<RecordType<'a>>>(
&mut self,
record: R
) -> Result<bool, ChatRecordError>
[src]
&mut self,
record: R
) -> Result<bool, ChatRecordError>
fn get_record(&self, query: Query) -> Result<Vec<Record>, ChatRecordError>
[src]
Implementors
impl<'a> ChatRecoder<'a> for SqliteChatRecorder
[src]
fn insert_or_update_record<R>(
&mut self,
record: R,
merger: Option<Box<dyn Fn(Vec<u8>, Vec<u8>) -> Option<Vec<u8>>>>
) -> Result<bool, ChatRecordError> where
R: Into<RecordType<'a>>,
[src]
&mut self,
record: R,
merger: Option<Box<dyn Fn(Vec<u8>, Vec<u8>) -> Option<Vec<u8>>>>
) -> Result<bool, ChatRecordError> where
R: Into<RecordType<'a>>,
fn remove_record<R: Into<RecordType<'a>>>(
&mut self,
record: R
) -> Result<bool, ChatRecordError>
[src]
&mut self,
record: R
) -> Result<bool, ChatRecordError>