Struct thingvellir::OwnedDataCommitRequest[][src]

#[must_use =
  "the data commit request must be resolved or rejected, otherwise the operation will be considered aborted."]pub struct OwnedDataCommitRequest<Key, Data> { /* fields omitted */ }

Implementations

impl<Key, Data> OwnedDataCommitRequest<Key, Data>[src]

pub fn into_inner(self) -> (Data, ProcessingDataCommitRequest<Key, Data>)[src]

pub fn data(&self) -> &Data[src]

pub fn resolve(self)[src]

pub fn reject<E: Into<UpstreamError>>(self, error: E)[src]

impl<Key: Send + 'static, Data: ServiceData> OwnedDataCommitRequest<Key, Data>[src]

pub fn spawn<R: Future<Output = Result<(), UpstreamError>> + Send + 'static, F: FnOnce(&Key, Data) -> R + Send + 'static>(
    self,
    func: F
)
[src]

Auto Trait Implementations

impl<Key, Data> !RefUnwindSafe for OwnedDataCommitRequest<Key, Data>

impl<Key, Data> Send for OwnedDataCommitRequest<Key, Data> where
    Data: Send,
    Key: Send

impl<Key, Data> Sync for OwnedDataCommitRequest<Key, Data> where
    Data: Send + Sync,
    Key: Send + Sync

impl<Key, Data> Unpin for OwnedDataCommitRequest<Key, Data> where
    Data: Unpin,
    Key: Unpin

impl<Key, Data> !UnwindSafe for OwnedDataCommitRequest<Key, Data>

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, 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>,