Trait extendr_api::io::load::Load
source · pub trait Load {
// Provided methods
fn load<P: AsRef<Path>>(
path: &P,
format: PstreamFormat,
hook: Option<ReadHook>,
) -> Result<Robj> { ... }
fn from_reader<R: Read>(
reader: &mut R,
format: PstreamFormat,
hook: Option<ReadHook>,
) -> Result<Robj> { ... }
}
Provided Methods§
sourcefn load<P: AsRef<Path>>(
path: &P,
format: PstreamFormat,
hook: Option<ReadHook>,
) -> Result<Robj>
fn load<P: AsRef<Path>>( path: &P, format: PstreamFormat, hook: Option<ReadHook>, ) -> Result<Robj>
Save an object in the R data format.
version
should probably be 3.
sourcefn from_reader<R: Read>(
reader: &mut R,
format: PstreamFormat,
hook: Option<ReadHook>,
) -> Result<Robj>
fn from_reader<R: Read>( reader: &mut R, format: PstreamFormat, hook: Option<ReadHook>, ) -> Result<Robj>
Save an object in the R data format to a Write
trait.
version
should probably be 3.
Object Safety§
This trait is not object safe.