pub struct InMemoryChangeLog { /* private fields */ }Expand description
Trait Implementations§
Source§impl ChangeLog for InMemoryChangeLog
impl ChangeLog for InMemoryChangeLog
Source§fn record<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 ChangeId,
change: &'life2 Change,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn record<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 ChangeId,
change: &'life2 Change,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Records a change before any side effects begin (write-ahead). Read more
Source§impl Clone for InMemoryChangeLog
impl Clone for InMemoryChangeLog
Source§fn clone(&self) -> InMemoryChangeLog
fn clone(&self) -> InMemoryChangeLog
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMemoryChangeLog
impl Debug for InMemoryChangeLog
Source§impl Default for InMemoryChangeLog
impl Default for InMemoryChangeLog
Source§fn default() -> InMemoryChangeLog
fn default() -> InMemoryChangeLog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryChangeLog
impl RefUnwindSafe for InMemoryChangeLog
impl Send for InMemoryChangeLog
impl Sync for InMemoryChangeLog
impl Unpin for InMemoryChangeLog
impl UnwindSafe for InMemoryChangeLog
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].