pub trait PatchSource{
// 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§
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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".