pub enum StreamApprox<T: Clone> {
Nil,
Cons(Box<StreamNode<T>>),
}Expand description
A finite approximation of a stream (either Nil or a Cons).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for StreamApprox<T>
impl<T> RefUnwindSafe for StreamApprox<T>where
T: RefUnwindSafe,
impl<T> Send for StreamApprox<T>where
T: Send,
impl<T> Sync for StreamApprox<T>where
T: Sync,
impl<T> Unpin for StreamApprox<T>
impl<T> UnsafeUnpin for StreamApprox<T>
impl<T> UnwindSafe for StreamApprox<T>where
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