Struct UnsyncBoxBody
struct UnsyncBoxBody<D, E> { ... }
A boxed Body trait object that is !Sync.
Implementations
impl<D, E> UnsyncBoxBody<D, E>
fn new<B>(body: B) -> Self where B: Body<Data = D, Error = E> + Send + 'static, D: BufCreate a new
UnsyncBoxBody.
impl<D, E> Body for UnsyncBoxBody<D, E>
fn poll_frame(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Result<Frame<<Self as >::Data>, <Self as >::Error>>>fn is_end_stream(self: &Self) -> boolfn size_hint(self: &Self) -> SizeHint
impl<D, E> Debug for UnsyncBoxBody<D, E>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<D, E> Default for UnsyncBoxBody<D, E>
fn default() -> Self
impl<D, E> Freeze for UnsyncBoxBody<D, E>
impl<D, E> RefUnwindSafe for UnsyncBoxBody<D, E>
impl<D, E> Send for UnsyncBoxBody<D, E>
impl<D, E> Sync for UnsyncBoxBody<D, E>
impl<D, E> Unpin for UnsyncBoxBody<D, E>
impl<D, E> UnsafeUnpin for UnsyncBoxBody<D, E>
impl<D, E> UnwindSafe for UnsyncBoxBody<D, E>
impl<T> Any for UnsyncBoxBody<D, E>
fn type_id(self: &Self) -> TypeId
impl<T> BodyExt for UnsyncBoxBody<D, E>
impl<T> Borrow for UnsyncBoxBody<D, E>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for UnsyncBoxBody<D, E>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for UnsyncBoxBody<D, E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for UnsyncBoxBody<D, E>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for UnsyncBoxBody<D, E>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for UnsyncBoxBody<D, E>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>