SortBed

Trait SortBed 

Source
pub trait SortBed: Iterator {
    // Provided methods
    fn sort_bed<B>(
        self,
    ) -> Result<impl ExactSizeIterator + Iterator<Item = Result<B, ExternalChunkError>>, SortError>
       where Self: Iterator<Item = B> + Sized,
             B: BEDLike + Encode + Decode<()> + Send { ... }
    fn sort_bed_with_options<B>(
        self,
        opts: SortBedOptions,
    ) -> Result<impl ExactSizeIterator + Iterator<Item = Result<B, ExternalChunkError>>, SortError>
       where Self: Iterator<Item = B> + Sized,
             B: BEDLike + Encode + Decode<()> + Send { ... }
}

Provided Methods§

Source

fn sort_bed<B>( self, ) -> Result<impl ExactSizeIterator + Iterator<Item = Result<B, ExternalChunkError>>, SortError>
where Self: Iterator<Item = B> + Sized, B: BEDLike + Encode + Decode<()> + Send,

Sort the BED records in the iterator.

Source

fn sort_bed_with_options<B>( self, opts: SortBedOptions, ) -> Result<impl ExactSizeIterator + Iterator<Item = Result<B, ExternalChunkError>>, SortError>
where Self: Iterator<Item = B> + Sized, B: BEDLike + Encode + Decode<()> + Send,

Sort the BED records in the iterator.

Implementors§

Source§

impl<T> SortBed for T
where T: Iterator + ?Sized,