/// Creates a new file response from the provided optional T, status,
/// ContentType, and ContentLength
Creates a new file response from the provided optional T, status,
ContentType, and ContentLength
Creates a new file response from the provided optional T status ContentType and ContentLength
pub fn new(
        read: Option<T>,
        status: Status,
        content_type: ContentType,
        content_length: ContentLength
    ) -> Self {
        FileResponse {
            file_data: read,
            status: status,
            content_length,
            content_type,
        }
    }
pub fn new ( read : Option < T > , status : Status , content_type : ContentType , content_length : ContentLength ) -> Self { FileResponse { file_data : read , status : status , content_length , content_type , } }
Creates a new file response from the provided optional T, status,
ContentType, and ContentLength
Creates a new file response from the provided optional T status ContentType and ContentLength
read
Option<T>
status
Status
content_type
ContentType
content_length
ContentLength