Struct futures_util::stream::Empty [−][src]
#[must_use = "streams do nothing unless polled"]pub struct Empty<T> { /* fields omitted */ }
Expand description
Stream for the empty function.
Trait Implementations
impl<T> FusedStream for Empty<T>[src]
impl<T> FusedStream for Empty<T>[src]fn is_terminated(&self) -> bool[src]
fn is_terminated(&self) -> bool[src]Returns true if the stream should no longer be polled.
impl<T> Stream for Empty<T>[src]
impl<T> Stream for Empty<T>[src]type Item = T
type Item = TValues yielded by the stream.
impl<T> Unpin for Empty<T>[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Empty<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Empty<T> where
T: Send,
T: Send,
impl<T> Sync for Empty<T> where
T: Sync,
T: Sync,
impl<T> UnwindSafe for Empty<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more