pub struct RootFile { /* private fields */ }
Expand description
RootFile
wraps the most basic information of a ROOT file.
Implementations§
Source§impl RootFile
impl RootFile
Sourcepub async fn new<S: Into<Source>>(source: S) -> Result<Self, Error>
pub async fn new<S: Into<Source>>(source: S) -> Result<Self, Error>
Open a new ROOT file either from a Url
, or from a Path
(not available on wasm32
).
pub async fn get_streamer_context(&self) -> Result<Context, Error>
Sourcepub async fn streamer_infos(&self) -> Result<Vec<TStreamerInfo>, Error>
pub async fn streamer_infos(&self) -> Result<Vec<TStreamerInfo>, Error>
Translate the streamer info of this file to a YAML file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootFile
impl !RefUnwindSafe for RootFile
impl Send for RootFile
impl Sync for RootFile
impl Unpin for RootFile
impl !UnwindSafe for RootFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more