[][src]Struct webdav_handler::body::StreamBody

pub struct StreamBody<B> { /* fields omitted */ }

Methods

impl<ReqBody, ReqData, ReqError> StreamBody<ReqBody> where
    ReqData: Buf + Send,
    ReqError: StdError + Send + Sync + 'static,
    ReqBody: Stream<Item = Result<ReqData, ReqError>>, 
[src]

pub fn new(body: ReqBody) -> StreamBody<ReqBody>[src]

Trait Implementations

impl<ReqBody, ReqData, ReqError> Body for StreamBody<ReqBody> where
    ReqData: Buf + Send,
    ReqError: StdError + Send + Sync + 'static,
    ReqBody: Stream<Item = Result<ReqData, ReqError>>, 
[src]

type Data = ReqData

Values yielded by the Body.

type Error = ReqError

The error type this Body might generate.

impl<'pin, B> Unpin for StreamBody<B> where
    __StreamBody<'pin, B>: Unpin
[src]

Auto Trait Implementations

impl<B> RefUnwindSafe for StreamBody<B> where
    B: RefUnwindSafe

impl<B> Send for StreamBody<B> where
    B: Send

impl<B> Sync for StreamBody<B> where
    B: Sync

impl<B> UnwindSafe for StreamBody<B> where
    B: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = !

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<V, T> VZip<V> for T where
    V: MultiLane<T>,