[−][src]Struct tellirc::Dao
Methods
impl Dao
[src]
pub fn new(conn: Connection) -> Dao
[src]
Trait Implementations
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>
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,