SampleExtractor

Trait SampleExtractor 

Source
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§

Source

fn extract_at(&self, index: usize) -> R

Extract ciphertext at index

Source

fn extract_all(&self) -> Vec<R>

Extract all ciphertexts

Source

fn extract_many(&self, how_many: usize) -> Vec<R>

Extract first how_many ciphertexts

Implementors§