[][src]Struct actix_multipart::Field

pub struct Field { /* fields omitted */ }

A single field in a multipart stream

Methods

impl Field[src]

pub fn headers(&self) -> &HeaderMap[src]

Get a map of headers

pub fn content_type(&self) -> &Mime[src]

Get the content type of the field

pub fn content_disposition(&self) -> Option<ContentDisposition>[src]

Get the content disposition of the field, if it exists

Trait Implementations

impl Debug for Field[src]

impl Stream for Field[src]

type Item = Bytes

The type of item this stream will yield on success.

type Error = MultipartError

The type of error this stream may generate.

Auto Trait Implementations

impl !Send for Field

impl Unpin for Field

impl !Sync for Field

impl !UnwindSafe for Field

impl !RefUnwindSafe for Field

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> IntoStream for T where
    T: Stream

type Item = <T as Stream>::Item

type Error = <T as Stream>::Error

type Stream = T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,