fn seek(&mut self, whence: io::SeekFrom) -> curl::easy::SeekResult {
        if whence == io::SeekFrom::Start(0) && self.request_body.reset() {
            curl::easy::SeekResult::Ok
        } else {
            curl::easy::SeekResult::CantSeek
        }
    }
// Gets called by curl when it wants to seek to a certain position in the request body.
Gets called by curl when it wants to seek to a certain position in the request body.
Gets called by curl when it wants to seek to a certain position in the request body .
fn seek(&mut self, whence: io::SeekFrom) -> curl::easy::SeekResult {
        if whence == io::SeekFrom::Start(0) && self.request_body.reset() {
            curl::easy::SeekResult::Ok
        } else {
            curl::easy::SeekResult::CantSeek
        }
    }
fn seek ( & mut self , whence : io :: SeekFrom ) -> curl :: easy :: SeekResult { if whence == io :: SeekFrom :: Start ( 0 ) && self . request_body . reset ( ) { curl :: easy :: SeekResult :: Ok } else { curl :: easy :: SeekResult :: CantSeek } }
Gets called by curl when it wants to seek to a certain position in the request body.
Gets called by curl when it wants to seek to a certain position in the request body .
&mut self
whence
io::SeekFrom
&mut self
whence
io::SeekFrom