pub fn file_notify<N: extractor::Notifier>(&mut self, file: fs::File, notify: N) -> impl Future<Output=Result<fs::File, extractor::BodyReadError>> {
        #[cfg(debug_assertions)]
        {
            let meta = file.metadata().expect("To be able to get metadata");
            debug_assert!(!meta.permissions().readonly(), "File is read-only");
        }

        let (encoding, _, body) = self.extract_body();

        extractor::file_notify(file, body, encoding, notify)
    }
///Extracts Response's body into file
Extracts Response's body into file
Extracts Response ' s body into file
pub fn file_notify<N: extractor::Notifier>(&mut self, file: fs::File, notify: N) -> impl Future<Output=Result<fs::File, extractor::BodyReadError>> {
        #[cfg(debug_assertions)]
        {
            let meta = file.metadata().expect("To be able to get metadata");
            debug_assert!(!meta.permissions().readonly(), "File is read-only");
        }
        let (encoding, _, body) = self.extract_body();
        extractor::file_notify(file, body, encoding, notify)
    }
pub fn file_notify < N : extractor :: Notifier > ( & mut self , file : fs :: File , notify : N ) -> impl Future < Output = Result < fs :: File , extractor :: BodyReadError > > { # [ cfg ( debug_assertions ) ] { let meta = file . metadata ( ) . expect ( " " ) ; debug_assert ! ( meta permissions ( ) readonly ( ) " " ) ; } let ( encoding , _ , body ) = self . extract_body ( ) ; extractor :: file_notify ( file , body , encoding , notify ) }
Extracts Response's body into file
Extracts Response ' s body into file
&mut self
file
fs::File
notify
N