fn idx(&self, seqname: &str) -> io::Result<IndexRecord> {
        match self.index.name_to_rid.get(seqname) {
            Some(rid) => self.idx_by_rid(*rid),
            None => Err(io::Error::new(
                io::ErrorKind::Other,
                format!("Unknown sequence name: {}.", seqname),
            )),
        }
    }
/// Return the IndexRecord for the given sequence name or io::Result::Err
Return the IndexRecord for the given sequence name or io::Result::Err
Return the IndexRecord for the given sequence name or io :: Result :: Err
fn idx(&self, seqname: &str) -> io::Result<IndexRecord> {
        match self.index.name_to_rid.get(seqname) {
            Some(rid) => self.idx_by_rid(*rid),
            None => Err(io::Error::new(
                io::ErrorKind::Other,
                format!("Unknown sequence name: {}.", seqname),
            )),
        }
    }
fn idx ( & self , seqname : & str ) -> io :: Result < IndexRecord > { match self . index . name_to_rid . get ( seqname ) { Some ( rid ) => self . idx_by_rid ( * rid ) , None => Err ( io :: Error :: new ( io :: ErrorKind :: Other , format ! ( " " seqname ) , ) ) , } }
Return the IndexRecord for the given sequence name or io::Result::Err
Return the IndexRecord for the given sequence name or io :: Result :: Err
&self
seqname
&str
&self
seqname
&str