pub trait SampleExtractor<R> {
// Required methods
fn extract_at(&self, index: usize) -> R;
fn extract_all(&self) -> Vec<R>;
fn extract_many(&self, how_many: usize) -> Vec<R>;
}Required Methods§
Sourcefn extract_at(&self, index: usize) -> R
fn extract_at(&self, index: usize) -> R
Extract ciphertext at index
Sourcefn extract_all(&self) -> Vec<R>
fn extract_all(&self) -> Vec<R>
Extract all ciphertexts
Sourcefn extract_many(&self, how_many: usize) -> Vec<R>
fn extract_many(&self, how_many: usize) -> Vec<R>
Extract first how_many ciphertexts