pub struct Unbounded<T>(/* private fields */);Expand description
Keeps every item, in order. This is what into_stream uses.
Nothing is ever dropped, so a source faster than the consumer grows the buffer without bound.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Unbounded<T>
impl<T> RefUnwindSafe for Unbounded<T>where
VecDeque<T>: RefUnwindSafe,
impl<T> Send for Unbounded<T>
impl<T> Sync for Unbounded<T>
impl<T> Unpin for Unbounded<T>
impl<T> UnsafeUnpin for Unbounded<T>where
VecDeque<T>: UnsafeUnpin,
impl<T> UnwindSafe for Unbounded<T>where
VecDeque<T>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more