Trait ion_rs::data_source::ToIonDataSource
source · pub trait ToIonDataSource {
type DataSource: IonDataSource;
// Required method
fn to_ion_data_source(self) -> Self::DataSource;
}
Expand description
Types that implement this trait can be converted into an implementation of io::BufRead, allowing users to build a Reader from a variety of types that might not define I/O operations on their own.