Struct salvo::fs::NamedFileBuilder [−][src]
pub struct NamedFileBuilder { /* fields omitted */ }
Implementations
pub fn with_attached_filename<T>(self, attached_filename: T) -> NamedFileBuilder where
T: Into<String>,
pub fn with_disposition_type<T>(self, disposition_type: T) -> NamedFileBuilder where
T: Into<String>,
pub fn with_content_encoding<T>(self, content_encoding: T) -> NamedFileBuilder where
T: Into<String>,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NamedFileBuilder
impl Send for NamedFileBuilder
impl Sync for NamedFileBuilder
impl Unpin for NamedFileBuilder
impl UnwindSafe for NamedFileBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self