[][src]Enum sn0int::psl::PslReader

pub enum PslReader {
    Reader(File),
    String(String),
}

Variants

Reader(File)
String(String)

Methods

impl PslReader[src]

pub fn open_or_download<F>(
    cache_dir: &Path,
    indicator: F
) -> Result<PslReader, Error> where
    F: Fn(Box<dyn Fn() + 'static>) -> Result<PslReader, Error>, 
[src]

pub fn open(cache_dir: &Path) -> Result<PslReader, Error>[src]

pub fn open_from(path: &Path) -> Result<PslReader, Error>[src]

pub fn path(cache_dir: &Path) -> Result<PathBuf, Error>[src]

pub fn download(path: &Path, url: &str) -> Result<(), Error>[src]

Trait Implementations

impl Debug for PslReader[src]

impl LazyInit<Arc<Psl>> for PslReader[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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,