[−][src]Trait melib::backends::imap::cache::ImapCache
Required methods
fn reset(&mut self) -> Result<()>
fn mailbox_state(&mut self, mailbox_hash: MailboxHash) -> Result<Option<()>>
fn find_envelope(
&mut self,
identifier: Result<UID, EnvelopeHash>,
mailbox_hash: MailboxHash
) -> Result<Option<CachedEnvelope>>
&mut self,
identifier: Result<UID, EnvelopeHash>,
mailbox_hash: MailboxHash
) -> Result<Option<CachedEnvelope>>
fn update(
&mut self,
mailbox_hash: MailboxHash,
refresh_events: &[(UID, RefreshEvent)]
) -> Result<()>
&mut self,
mailbox_hash: MailboxHash,
refresh_events: &[(UID, RefreshEvent)]
) -> Result<()>
fn update_mailbox(
&mut self,
mailbox_hash: MailboxHash,
select_response: &SelectResponse
) -> Result<()>
&mut self,
mailbox_hash: MailboxHash,
select_response: &SelectResponse
) -> Result<()>
fn insert_envelopes(
&mut self,
mailbox_hash: MailboxHash,
fetches: &[FetchResponse<'_>]
) -> Result<()>
&mut self,
mailbox_hash: MailboxHash,
fetches: &[FetchResponse<'_>]
) -> Result<()>
fn envelopes(
&mut self,
mailbox_hash: MailboxHash
) -> Result<Option<Vec<EnvelopeHash>>>
&mut self,
mailbox_hash: MailboxHash
) -> Result<Option<Vec<EnvelopeHash>>>
fn clear(
&mut self,
mailbox_hash: MailboxHash,
select_response: &SelectResponse
) -> Result<()>
&mut self,
mailbox_hash: MailboxHash,
select_response: &SelectResponse
) -> Result<()>
fn rfc822(
&mut self,
identifier: Result<UID, EnvelopeHash>,
mailbox_hash: MailboxHash
) -> Result<Option<Vec<u8>>>
&mut self,
identifier: Result<UID, EnvelopeHash>,
mailbox_hash: MailboxHash
) -> Result<Option<Vec<u8>>>
Implementors
impl ImapCache for Sqlite3Cache
[src]
fn reset(&mut self) -> Result<()>
[src]
fn mailbox_state(&mut self, mailbox_hash: MailboxHash) -> Result<Option<()>>
[src]
fn clear(
&mut self,
mailbox_hash: MailboxHash,
select_response: &SelectResponse
) -> Result<()>
[src]
&mut self,
mailbox_hash: MailboxHash,
select_response: &SelectResponse
) -> Result<()>
fn update_mailbox(
&mut self,
mailbox_hash: MailboxHash,
select_response: &SelectResponse
) -> Result<()>
[src]
&mut self,
mailbox_hash: MailboxHash,
select_response: &SelectResponse
) -> Result<()>
fn envelopes(
&mut self,
mailbox_hash: MailboxHash
) -> Result<Option<Vec<EnvelopeHash>>>
[src]
&mut self,
mailbox_hash: MailboxHash
) -> Result<Option<Vec<EnvelopeHash>>>
fn insert_envelopes(
&mut self,
mailbox_hash: MailboxHash,
fetches: &[FetchResponse<'_>]
) -> Result<()>
[src]
&mut self,
mailbox_hash: MailboxHash,
fetches: &[FetchResponse<'_>]
) -> Result<()>
fn update(
&mut self,
mailbox_hash: MailboxHash,
refresh_events: &[(UID, RefreshEvent)]
) -> Result<()>
[src]
&mut self,
mailbox_hash: MailboxHash,
refresh_events: &[(UID, RefreshEvent)]
) -> Result<()>
fn find_envelope(
&mut self,
identifier: Result<UID, EnvelopeHash>,
mailbox_hash: MailboxHash
) -> Result<Option<CachedEnvelope>>
[src]
&mut self,
identifier: Result<UID, EnvelopeHash>,
mailbox_hash: MailboxHash
) -> Result<Option<CachedEnvelope>>
fn rfc822(
&mut self,
identifier: Result<UID, EnvelopeHash>,
mailbox_hash: MailboxHash
) -> Result<Option<Vec<u8>>>
[src]
&mut self,
identifier: Result<UID, EnvelopeHash>,
mailbox_hash: MailboxHash
) -> Result<Option<Vec<u8>>>