Struct thingvellir::OwnedDataCommitRequest
source · pub struct OwnedDataCommitRequest<'a, Key: Send + 'static, Data: ServiceData> { /* private fields */ }
Implementations§
source§impl<'a, Key: Send, Data: ServiceData> OwnedDataCommitRequest<'a, Key, Data>
impl<'a, Key: Send, Data: ServiceData> OwnedDataCommitRequest<'a, Key, Data>
pub fn into_inner(self) -> (Data, ProcessingDataCommitRequest<'a, Key, Data>)
pub fn data(&self) -> &Data
pub fn resolve(self)
pub fn reject<E: Into<UpstreamError>>(self, error: E)
source§impl<'a, Key: Send + 'static, Data: ServiceData> OwnedDataCommitRequest<'a, Key, Data>
impl<'a, Key: Send + 'static, Data: ServiceData> OwnedDataCommitRequest<'a, Key, Data>
Auto Trait Implementations§
impl<'a, Key, Data> Freeze for OwnedDataCommitRequest<'a, Key, Data>
impl<'a, Key, Data> !RefUnwindSafe for OwnedDataCommitRequest<'a, Key, Data>
impl<'a, Key, Data> Send for OwnedDataCommitRequest<'a, Key, Data>
impl<'a, Key, Data> Sync for OwnedDataCommitRequest<'a, Key, Data>
impl<'a, Key, Data> Unpin for OwnedDataCommitRequest<'a, Key, Data>
impl<'a, Key, Data> !UnwindSafe for OwnedDataCommitRequest<'a, Key, Data>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more