Struct Empty

struct Empty { ... }

Reader for the [empty()] function.

Implementations

impl AsyncBufRead for Empty

fn poll_fill_buf(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<&[u8]>>
fn consume(self: Pin<&mut Self>, _: usize)

impl AsyncRead for Empty

fn poll_read(self: Pin<&mut Self>, _: &mut Context<'_>, _: &mut [u8]) -> Poll<Result<usize>>

impl Debug for Empty

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for Empty

impl RefUnwindSafe for Empty

impl Send for Empty

impl Sync for Empty

impl Unpin for Empty

impl UnsafeUnpin for Empty

impl UnwindSafe for Empty

impl<R> AsyncBufReadExt for Empty

impl<R> AsyncReadExt for Empty

impl<T> Any for Empty

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Empty

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Empty

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for Empty

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Empty

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Empty

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Empty

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>