Struct cache_buster::processor::BusterBuilder[][src]

pub struct BusterBuilder { /* fields omitted */ }

Builder for Buster.

Implementations

impl BusterBuilder[src]

pub fn source<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

source directory

pub fn mime_types(&mut self, value: Vec<Mime>) -> &mut Self[src]

mime_types for hashing

pub fn result<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

directory for writing results

pub fn copy(&mut self, value: bool) -> &mut Self[src]

copy other non-hashed files from source dire to result dir?

follow symlinks?

pub fn build(&self) -> Result<Buster, BusterBuilderError>[src]

Builds a new Buster.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for BusterBuilder[src]

impl Default for BusterBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for BusterBuilder[src]

impl Send for BusterBuilder[src]

impl Sync for BusterBuilder[src]

impl Unpin for BusterBuilder[src]

impl UnwindSafe for BusterBuilder[src]

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> Same<T> for T

type Output = T

Should always be Self

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.