pub struct CopyRand<T: Send + 'static> { /* private fields */ }
Expand description
Copy input samples to the output, forwarding only a randomly selected number of samples.
This block is mainly used for benchmarking the runtime.
Input Stream
in
: Input
Output Stream
out
: Output, same as input
Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for CopyRand<T>where T: RefUnwindSafe,
impl<T> Send for CopyRand<T>
impl<T> Sync for CopyRand<T>where T: Sync,
impl<T> Unpin for CopyRand<T>where T: Unpin,
impl<T> UnwindSafe for CopyRand<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