[−][src]Struct melib::backends::imap::cache::sqlite3_m::Sqlite3Cache
Fields
connection: Connection
loaded_mailboxes: BTreeSet<MailboxHash>
uid_store: Arc<UIDStore>
Implementations
impl Sqlite3Cache
[src]
pub fn get(uid_store: Arc<UIDStore>) -> Result<Box<dyn ImapCache>>
[src]
fn max_uid(&self, mailbox_hash: MailboxHash) -> Result<UID>
[src]
Trait Implementations
impl Debug for Sqlite3Cache
[src]
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>>>
Auto Trait Implementations
impl !RefUnwindSafe for Sqlite3Cache
impl Send for Sqlite3Cache
impl !Sync for Sqlite3Cache
impl Unpin for Sqlite3Cache
impl !UnwindSafe for Sqlite3Cache
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,