[−][src]Trait tellirc::DaoTrait
Required methods
fn get_message_for(
&self,
who: &str,
in_chan: &str
) -> Result<Option<Vec<MessageCacheRow>>, &'static str>
&self,
who: &str,
in_chan: &str
) -> Result<Option<Vec<MessageCacheRow>>, &'static str>
fn add_message_for(
&self,
who: &str,
what: &str,
chan: &Option<&str>,
from: &str
) -> Result<(), &'static str>
&self,
who: &str,
what: &str,
chan: &Option<&str>,
from: &str
) -> Result<(), &'static str>
fn del_message(&self, msg: &MessageCacheRow) -> Result<(), &'static str>
fn get_alias_for(
&self,
who: &str
) -> Result<(Option<AliasRow>, Vec<String>), &'static str>
&self,
who: &str
) -> Result<(Option<AliasRow>, Vec<String>), &'static str>
fn add_alias_for(
&self,
who: &str,
to_add: &str
) -> Result<Vec<String>, &'static str>
&self,
who: &str,
to_add: &str
) -> Result<Vec<String>, &'static str>
fn del_alias_for(
&self,
who: &str,
to_del: &str
) -> Result<Vec<String>, &'static str>
&self,
who: &str,
to_del: &str
) -> Result<Vec<String>, &'static str>
Implementors
impl DaoTrait for Dao
[src]
fn del_message(&self, msg: &MessageCacheRow) -> Result<(), &'static str>
[src]
fn add_message_for(
&self,
who: &str,
what: &str,
chan: &Option<&str>,
from: &str
) -> Result<(), &'static str>
[src]
&self,
who: &str,
what: &str,
chan: &Option<&str>,
from: &str
) -> Result<(), &'static str>
fn get_message_for(
&self,
who: &str,
in_chan: &str
) -> Result<Option<Vec<MessageCacheRow>>, &'static str>
[src]
&self,
who: &str,
in_chan: &str
) -> Result<Option<Vec<MessageCacheRow>>, &'static str>
fn get_alias_for(
&self,
who: &str
) -> Result<(Option<AliasRow>, Vec<String>), &'static str>
[src]
&self,
who: &str
) -> Result<(Option<AliasRow>, Vec<String>), &'static str>
fn add_alias_for(
&self,
who: &str,
to_add: &str
) -> Result<Vec<String>, &'static str>
[src]
&self,
who: &str,
to_add: &str
) -> Result<Vec<String>, &'static str>
fn del_alias_for(
&self,
who: &str,
to_del: &str
) -> Result<Vec<String>, &'static str>
[src]
&self,
who: &str,
to_del: &str
) -> Result<Vec<String>, &'static str>