[−][src]Struct root_io::RootFile
RootFile
wraps the most basic information of a ROOT file.
Methods
impl RootFile
[src]
pub async fn new<S: Into<Source>>(source: S) -> Result<Self, Error>
[src]
Open a new ROOT file either from a Url
, or from a Path
(not available on wasm32
).
pub async fn streamers<'_>(&'_ self) -> Result<Vec<TStreamerInfo>, Error>
[src]
Return all TSreamerInfo
for the data in this file
pub fn items(&self) -> &[FileItem]
[src]
Slice of the items contained in this file
pub async fn streamer_info_as_yaml<'_, '_, W: Write>(
&'_ self,
s: &'_ mut W
) -> Result<(), Error>
[src]
&'_ self,
s: &'_ mut W
) -> Result<(), Error>
Translate the streamer info of this file to a YAML file
pub async fn streamer_info_as_rust<'_, '_, W: Write>(
&'_ self,
s: &'_ mut W
) -> Result<(), Error>
[src]
&'_ self,
s: &'_ mut W
) -> Result<(), Error>
Generate Rust code from the streamer info of this file
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RootFile
impl Send for RootFile
impl Sync for RootFile
impl Unpin for RootFile
impl !UnwindSafe for RootFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,