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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.