Struct noodles_tabix::async::Writer[][src]

pub struct Writer<W> { /* fields omitted */ }
Expand description

An async tabix writer.

Implementations

Creates an async tabix writer.

Examples

use noodles_tabix as tabix;
let writer = tabix::AsyncWriter::new(Vec::new());

Returns the underlying writer.

Examples

use noodles_tabix as tabix;
let writer = tabix::AsyncWriter::new(Vec::new());
assert!(writer.into_inner().is_empty());

Shuts down the output stream.

Examples

use noodles_tabix as tabix;
let mut writer = tabix::AsyncWriter::new(Vec::new());
writer.shutdown().await?;

Writes a tabix index.

Examples

use noodles_tabix as tabix;

let index = tabix::Index::default();

let mut writer = tabix::AsyncWriter::new(Vec::new());
writer.write_index(&index).await?;

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.