Struct root_io::RootFile [−][src]
RootFile
wraps the most basic information of a ROOT file.
Implementations
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 get_streamer_context(&self) -> Result<Context, Error>
[src]
pub fn items(&self) -> &[FileItem]ⓘ
[src]
Slice of the items contained in this file
pub async fn streamer_infos(&self) -> Result<Vec<TStreamerInfo>, Error>
[src]
Translate the streamer info of this file to a YAML 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
[src]
impl Send for RootFile
[src]
impl Sync for RootFile
[src]
impl Unpin for RootFile
[src]
impl !UnwindSafe for RootFile
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,