pub struct ServerState {
pub registry: SchemaRegistry,
pub mode: RwLock<RegistryMode>,
pub default_compatibility: RwLock<CompatibilityLevel>,
}Expand description
Shared server state
Fields§
§registry: SchemaRegistry§mode: RwLock<RegistryMode>§default_compatibility: RwLock<CompatibilityLevel>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