Struct vapcore_light::request::Builder[][src]

pub struct Builder<T> { /* fields omitted */ }

Build chained requests. Push them onto the series with push, and produce a Batch object with build. Outputs are checked for consistency.

Implementations

impl<T: IncompleteRequest> Builder<T>[src]

pub fn push(&mut self, request: T) -> Result<(), NoSuchOutput>[src]

Attempt to push a request onto the request chain. Fails if the request references a non-existent output of a prior request.

pub fn output_kinds(&self) -> &HashMap<(usize, usize), OutputKind>[src]

Get a reference to the output kinds map.

pub fn build(self) -> Batch<T>[src]

Convert this into a “batch” object.

Trait Implementations

impl<T: Clone> Clone for Builder<T>[src]

impl<T: Debug> Debug for Builder<T>[src]

impl<T> Default for Builder<T>[src]

impl<T: Eq> Eq for Builder<T>[src]

impl<T: PartialEq> PartialEq<Builder<T>> for Builder<T>[src]

impl<T> StructuralEq for Builder<T>[src]

impl<T> StructuralPartialEq for Builder<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Builder<T> where
    T: RefUnwindSafe

impl<T> Send for Builder<T> where
    T: Send

impl<T> Sync for Builder<T> where
    T: Sync

impl<T> Unpin for Builder<T> where
    T: Unpin

impl<T> UnwindSafe for Builder<T> where
    T: UnwindSafe

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

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

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

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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.

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