Skip to main content

PatchSource

Trait PatchSource 

Source
pub trait PatchSource
where Self: Send + Sync,
{ // Required methods fn fetch_many( &self, list: &str, msg_ids: &[MessageID], ) -> ResultFuture<Vec<Mail>>; fn fetch_thread( &self, list: &str, msg_id: MessageID, ) -> ResultFuture<Vec<Mail>>; fn fetch(&self, list: &str, msg_id: MessageID) -> ResultFuture<Mail>; }

Required Methods§

Source

fn fetch_many( &self, list: &str, msg_ids: &[MessageID], ) -> ResultFuture<Vec<Mail>>

Source

fn fetch_thread(&self, list: &str, msg_id: MessageID) -> ResultFuture<Vec<Mail>>

Source

fn fetch(&self, list: &str, msg_id: MessageID) -> ResultFuture<Mail>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§