[−][src]Trait libimagmail::store::MailStore
Required methods
fn create_mail_from_path<P, CollName>(
&'a self,
p: P,
collection_name: CollName,
config: &Config
) -> Result<FileLockEntry<'a>> where
P: AsRef<Path> + Debug,
CollName: AsRef<str> + Debug,
&'a self,
p: P,
collection_name: CollName,
config: &Config
) -> Result<FileLockEntry<'a>> where
P: AsRef<Path> + Debug,
CollName: AsRef<str> + Debug,
fn get_mail_from_path<P>(&'a self, p: P) -> Result<Option<FileLockEntry<'a>>> where
P: AsRef<Path> + Debug,
P: AsRef<Path> + Debug,
fn retrieve_mail_from_path<P, CollName>(
&'a self,
p: P,
collection_name: CollName,
config: &Config
) -> Result<FileLockEntry<'a>> where
P: AsRef<Path> + Debug,
CollName: AsRef<str> + Debug,
&'a self,
p: P,
collection_name: CollName,
config: &Config
) -> Result<FileLockEntry<'a>> where
P: AsRef<Path> + Debug,
CollName: AsRef<str> + Debug,
fn get_mail(&'a self, mid: MessageId) -> Result<Option<FileLockEntry<'a>>>
fn all_mails(&'a self) -> Result<Entries<'a>>
Implementations on Foreign Types
impl<'a> MailStore<'a> for Store
[src]
fn create_mail_from_path<P, CollName>(
&'a self,
p: P,
collection_name: CollName,
config: &Config
) -> Result<FileLockEntry<'a>> where
P: AsRef<Path> + Debug,
CollName: AsRef<str> + Debug,
[src]
&'a self,
p: P,
collection_name: CollName,
config: &Config
) -> Result<FileLockEntry<'a>> where
P: AsRef<Path> + Debug,
CollName: AsRef<str> + Debug,
fn get_mail_from_path<P>(&'a self, p: P) -> Result<Option<FileLockEntry<'a>>> where
P: AsRef<Path> + Debug,
[src]
P: AsRef<Path> + Debug,
Same as MailStore::retrieve_mail_from_path() but uses Store::get() instead of Store::retrieve()
fn retrieve_mail_from_path<P, CollName>(
&'a self,
p: P,
collection_name: CollName,
config: &Config
) -> Result<FileLockEntry<'a>> where
P: AsRef<Path> + Debug,
CollName: AsRef<str> + Debug,
[src]
&'a self,
p: P,
collection_name: CollName,
config: &Config
) -> Result<FileLockEntry<'a>> where
P: AsRef<Path> + Debug,
CollName: AsRef<str> + Debug,