Trait noodles_fasta::repository::Adapter

source ·
pub trait Adapter: Send + Sync {
    // Required method
    fn get(&mut self, name: &[u8]) -> Option<Result<Record>>;
}
Expand description

A repository adapter.

Required Methods§

source

fn get(&mut self, name: &[u8]) -> Option<Result<Record>>

Returns the record with the given name.

Implementations on Foreign Types§

source§

impl Adapter for Vec<Record>

source§

fn get(&mut self, name: &[u8]) -> Option<Result<Record>>

Implementors§

source§

impl Adapter for Empty

source§

impl<R> Adapter for IndexedReader<R>
where R: BufRead + Seek + Send + Sync,