[][src]Struct thingvellir::DataCommitRequest

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

Implementations

impl<'a, Key, Data> DataCommitRequest<'a, Key, Data>[src]

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

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

pub fn key(&self) -> &Key[src]

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

pub fn resolve(self)[src]

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

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

pub fn spawn<F: Future<Output = Result<(), UpstreamError>> + Send + 'static>(
    self,
    fut: F
)
[src]

impl<Key, Data: Clone, '_> DataCommitRequest<'_, Key, Data>[src]

pub fn into_owned(self) -> OwnedDataCommitRequest<Key, Data>[src]

Auto Trait Implementations

impl<'a, Key, Data> !RefUnwindSafe for DataCommitRequest<'a, Key, Data>

impl<'a, Key, Data> Send for DataCommitRequest<'a, Key, Data> where
    Data: Send,
    Key: Send

impl<'a, Key, Data> Sync for DataCommitRequest<'a, Key, Data> where
    Data: Send + Sync,
    Key: Send + Sync

impl<'a, Key, Data> Unpin for DataCommitRequest<'a, Key, Data> where
    Key: Unpin

impl<'a, Key, Data> !UnwindSafe for DataCommitRequest<'a, 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>,