pub async fn run(&mut self) {
        self.dirty = true;
        let client = reqwest::blocking::Client::builder()
            .build().unwrap();
        let feeds_length = self.feeds.len();
        // Initialize mail server before processing feeds
        self.feeds = self.feeds
            .iter().enumerate()
            .map(|element| element.1.read(element.0, &feeds_length, &client, &self.settings))
            .collect::<FuturesUnordered<_>>()
            .collect::<Vec<Feed>>()
            .await;
    }
/// Run all rss to imap transformation
/// Each feed is read and immediatly written in this thread.
/// This should be rewritten to allow optimization/parallelism

Run all rss to imap transformation
Each feed is read and immediatly written in this thread.
This should be rewritten to allow optimization/parallelism
Run all rss to imap transformation Each feed is read and immediatly written in this thread . This should be rewritten to allow optimization / parallelism
pub async fn run(&mut self) {
        self.dirty = true;
        let client = reqwest::blocking::Client::builder()
            .build().unwrap();
        let feeds_length = self.feeds.len();
        // Initialize mail server before processing feeds
        self.feeds = self.feeds
            .iter().enumerate()
            .map(|element| element.1.read(element.0, &feeds_length, &client, &self.settings))
            .collect::<FuturesUnordered<_>>()
            .collect::<Vec<Feed>>()
            .await;
    }
pub async fn run ( & mut self ) { self . dirty = true ; let client = reqwest :: blocking :: Client :: builder ( ) . build ( ) . unwrap ( ) ; let feeds_length = self . feeds . len ( ) ; // Initialize mail server before processing feeds
 self . feeds = self . feeds . iter ( ) . enumerate ( ) . map ( | element | element . 1 . read ( element . 0 , & feeds_length , & client , & self . settings ) ) . collect :: < FuturesUnordered < _ > > ( ) . collect :: < Vec < Feed > > ( ) . await ; }
Run all rss to imap transformation
Each feed is read and immediatly written in this thread.
Run all rss to imap transformation Each feed is read and immediatly written in this thread .
&mut self
&mut self