pub struct NoopChangeLog;Expand description
ChangeLog implementation that discards all entries.
Used as the default when no durable log is configured. Provides no
crash-recovery guarantees — orphan cleanup relies entirely on in-process
ChangeGuard drop logic.
Trait Implementations§
Source§impl ChangeLog for NoopChangeLog
impl ChangeLog for NoopChangeLog
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 Debug for NoopChangeLog
impl Debug for NoopChangeLog
Source§impl Default for NoopChangeLog
impl Default for NoopChangeLog
Source§fn default() -> NoopChangeLog
fn default() -> NoopChangeLog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoopChangeLog
impl RefUnwindSafe for NoopChangeLog
impl Send for NoopChangeLog
impl Sync for NoopChangeLog
impl Unpin for NoopChangeLog
impl UnwindSafe for NoopChangeLog
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
§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].