[][src]Struct root_io::FileItem

pub struct FileItem { /* fields omitted */ }

Describes a single item within this file (e.g. a Tree)

Methods

impl FileItem[src]

pub async fn as_tree<'_>(&'_ self) -> Result<Tree, Error>[src]

Parse this item as a Tree. Instead one could also call parse_with with the ttree parser

pub fn verbose_info(&self) -> String[src]

Information about this file item in Human readable form

pub fn name(&self) -> String[src]

Trait Implementations

impl Debug for FileItem[src]

Auto Trait Implementations

impl !RefUnwindSafe for FileItem

impl Send for FileItem

impl Sync for FileItem

impl Unpin for FileItem

impl !UnwindSafe for FileItem

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.