[][src]Function yukikaze::extractor::file

pub async fn file<S, I, E>(
    file: File,
    __arg1: S,
    encoding: ContentEncoding
) -> Result<File, BodyReadError> where
    S: HttpBody<Data = I, Error = E> + Unpin,
    I: Into<Bytes> + Buf,
    E: Into<BodyReadError>, 

Extracts body as bytes from Stream and write it to file

Params: