pub struct ServerState {Show 13 fields
pub config: ServerConfig,
pub store: Arc<AnyKV>,
pub catalog: Arc<RwLock<dyn Catalog + Send + Sync>>,
pub async_store: Arc<AsyncKVStoreAdapter<AnyKV>>,
pub session_manager: Arc<SessionManager>,
pub metrics: Metrics,
pub audit: AuditLogger,
pub auth: AuthMiddleware,
pub start_time: Instant,
pub lifecycle_state: Arc<LifecycleStateManager>,
pub recovery_info: RecoveryInfo,
pub backup_coordinator: BackupCoordinator,
pub restore_coordinator: RestoreCoordinator,
}Fields§
§config: ServerConfig§store: Arc<AnyKV>§catalog: Arc<RwLock<dyn Catalog + Send + Sync>>§async_store: Arc<AsyncKVStoreAdapter<AnyKV>>§session_manager: Arc<SessionManager>§metrics: Metrics§audit: AuditLogger§auth: AuthMiddleware§start_time: Instant§lifecycle_state: Arc<LifecycleStateManager>§recovery_info: RecoveryInfo§backup_coordinator: BackupCoordinator§restore_coordinator: RestoreCoordinatorImplementations§
Source§impl ServerState
impl ServerState
pub async fn begin_sql_txn( &self, ) -> Result<AsyncTxnBridge<'static, AsyncKVTransactionAdapter>>
Auto Trait Implementations§
impl Freeze for ServerState
impl !RefUnwindSafe for ServerState
impl Send for ServerState
impl Sync for ServerState
impl Unpin for ServerState
impl !UnwindSafe for ServerState
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> 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> 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