Struct root_io::Source[][src]

pub struct Source(_);

The source from where the Root file is read. Construct it using .into() on a Url or Path. The latter is not availible for the wasm32 target.

Implementations

impl Source[src]

pub fn new<T: Into<Self>>(thing: T) -> Self[src]

pub async fn fetch(&self, start: u64, len: u64) -> Result<Vec<u8>, Error>[src]

Trait Implementations

impl Clone for Source[src]

impl Debug for Source[src]

impl From<&'_ Path> for Source[src]

impl From<PathBuf> for Source[src]

impl From<Url> for Source[src]

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.