[][src]Struct dbcrossbarlib::TemporaryStorage

pub struct TemporaryStorage { /* fields omitted */ }

Provides different types of temporary storage.

Methods

impl TemporaryStorage[src]

pub fn new(locations: Vec<String>) -> Self[src]

Create a new TemporaryStorage object. The locations should be a list of locator-like strings, such as gs://bucket/tempdir or bigquery:project:dataset.

pub fn find_scheme<'a, 'b>(&'a self, scheme: &'b str) -> Option<&'a str>[src]

Find a location with the specified scheme.

pub fn random_tag() -> String[src]

Generate a random alphanumeric tag for use in temporary directory names.

Trait Implementations

impl Clone for TemporaryStorage[src]

impl Debug for TemporaryStorage[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> IntoSql for T[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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