Struct salvo_core::fs::NamedFileBuilder [−][src]
pub struct NamedFileBuilder { /* fields omitted */ }
Implementations
impl NamedFileBuilder
[src]
impl NamedFileBuilder
[src]pub fn with_attached_filename<T: Into<String>>(
self,
attached_filename: T
) -> NamedFileBuilder
[src]
self,
attached_filename: T
) -> NamedFileBuilder
pub fn with_disposition_type<T: Into<String>>(
self,
disposition_type: T
) -> NamedFileBuilder
[src]
self,
disposition_type: T
) -> NamedFileBuilder
pub fn with_content_type<T: Into<Mime>>(
self,
content_type: T
) -> NamedFileBuilder
[src]
self,
content_type: T
) -> NamedFileBuilder
pub fn with_content_encoding<T: Into<String>>(
self,
content_encoding: T
) -> NamedFileBuilder
[src]
self,
content_encoding: T
) -> NamedFileBuilder
pub fn with_buffer_size(self, buffer_size: u64) -> NamedFileBuilder
[src]
pub async fn build(self) -> Result<NamedFile>
[src]
Trait Implementations
impl Clone for NamedFileBuilder
[src]
impl Clone for NamedFileBuilder
[src]fn clone(&self) -> NamedFileBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for NamedFileBuilder
impl RefUnwindSafe for NamedFileBuilder
impl Send for NamedFileBuilder
impl Send for NamedFileBuilder
impl Sync for NamedFileBuilder
impl Sync for NamedFileBuilder
impl Unpin for NamedFileBuilder
impl Unpin for NamedFileBuilder
impl UnwindSafe for NamedFileBuilder
impl UnwindSafe for NamedFileBuilder
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,