pub struct ServerlessWalArchive {
pub metrics: ServerlessArchiveMetrics,
/* private fields */
}Fields§
§metrics: ServerlessArchiveMetricsImplementations§
Source§impl ServerlessWalArchive
impl ServerlessWalArchive
pub fn epoch(&self) -> u64
pub fn config(&self) -> &ServerlessArchiveConfig
Sourcepub fn note_out_of_wal_write(&self)
pub fn note_out_of_wal_write(&self)
Record a durable write that bypassed the commit WAL and ask for a generation that captures it.
Sourcepub fn publish_if_out_of_wal_pending(
&self,
runtime: &RedDBRuntime,
) -> RedDBResult<()>
pub fn publish_if_out_of_wal_pending( &self, runtime: &RedDBRuntime, ) -> RedDBResult<()>
Publish a generation now if an out-of-WAL write is not yet covered.
pub fn status(&self) -> ServerlessArchiveStatus
Auto Trait Implementations§
impl !Freeze for ServerlessWalArchive
impl !RefUnwindSafe for ServerlessWalArchive
impl !UnwindSafe for ServerlessWalArchive
impl Forget for ServerlessWalArchive
impl Move for ServerlessWalArchive
impl Send for ServerlessWalArchivewhere
Arc<dyn AtomicRemoteBackend>: Send,
Arc<SnapshotPublicationStore>: Send,
OnceLock<Arc<LeaseLifecycle>>: Send,
Arc<WalArchiveTap>: Send,
RawVecInner: Send,
Atomic<u64>: Send,
Atomic<bool>: Send,
Mutex<()>: Send,
Mutex<bool>: Send,
Atomic<u32>: Send,
Mutex<Instant>: Send,
Mutex<VecDeque<(u64, u64)>>: Send,
Mutex<Vec<JoinHandle<()>>>: Send,
Mutex<Option<JoinHandle<()>>>: Send,
impl Sync for ServerlessWalArchivewhere
Arc<dyn AtomicRemoteBackend>: Sync,
Arc<SnapshotPublicationStore>: Sync,
OnceLock<Arc<LeaseLifecycle>>: Sync,
Arc<WalArchiveTap>: Sync,
RawVecInner: Sync,
Atomic<u64>: Sync,
Atomic<bool>: Sync,
Mutex<()>: Sync,
Mutex<bool>: Sync,
Atomic<u32>: Sync,
Mutex<Instant>: Sync,
Mutex<VecDeque<(u64, u64)>>: Sync,
Mutex<Vec<JoinHandle<()>>>: Sync,
Mutex<Option<JoinHandle<()>>>: Sync,
impl Unpin for ServerlessWalArchive
impl UnsafeUnpin for ServerlessWalArchivewhere
*const ArcInner<dyn AtomicRemoteBackend> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn AtomicRemoteBackend>>: UnsafeUnpin,
*const ArcInner<SnapshotPublicationStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<SnapshotPublicationStore>>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
*const ArcInner<LeaseLifecycle> is !null: UnsafeUnpin,
PhantomData<ArcInner<LeaseLifecycle>>: UnsafeUnpin,
PhantomData<Arc<LeaseLifecycle>>: UnsafeUnpin,
*const ArcInner<WalArchiveTap> is !null: UnsafeUnpin,
PhantomData<ArcInner<WalArchiveTap>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
Align8<u64>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
PhantomData<(u64, u64)>: UnsafeUnpin,
PhantomData<JoinHandle<()>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
*const ArcInner<Packet<'static, ()>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Packet<'static, ()>>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request