Struct Empty
struct Empty<D> { ... }
A body that is always empty.
Implementations
impl<D> Empty<D>
const fn new() -> SelfCreate a new
Empty.
impl<D> Clone for Empty<D>
fn clone(self: &Self) -> Self
impl<D> Copy for Empty<D>
impl<D> Debug for Empty<D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<D> Default for Empty<D>
fn default() -> Self
impl<D> Freeze for Empty<D>
impl<D> RefUnwindSafe for Empty<D>
impl<D> Send for Empty<D>
impl<D> Sync for Empty<D>
impl<D> Unpin for Empty<D>
impl<D> UnsafeUnpin for Empty<D>
impl<D> UnwindSafe for Empty<D>
impl<D: Buf> Body for Empty<D>
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<T> Any for Empty<D>
fn type_id(self: &Self) -> TypeId
impl<T> BodyExt for Empty<D>
impl<T> Borrow for Empty<D>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Empty<D>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Empty<D>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Empty<D>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Empty<D>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Empty<D>
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 Empty<D>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Empty<D>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>