Skip to main content

SyncLogView

Trait SyncLogView 

Source
pub trait SyncLogView: Send + Sync {
    // Required method
    fn len(&self) -> Result<usize, SyncLogViewError>;

    // Provided method
    fn is_empty(&self) -> Result<bool, SyncLogViewError> { ... }
}
Expand description

Read-only synchronization-log metrics exposed to the HTTP host.

Required Methods§

Source

fn len(&self) -> Result<usize, SyncLogViewError>

Returns the number of visible replication records.

Provided Methods§

Source

fn is_empty(&self) -> Result<bool, SyncLogViewError>

Reports whether no replication records are visible.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§