pub struct Gateway { /* private fields */ }Expand description
Gateway server
Implementations§
Source§impl Gateway
impl Gateway
pub fn new(config: GatewayConfig) -> Result<Self>
Sourcepub fn mask_catalog(&self) -> &Arc<MaskCatalog>
pub fn mask_catalog(&self) -> &Arc<MaskCatalog>
Get mask catalog reference
Sourcepub fn metrics(&self) -> &Arc<MetricsCollector>
pub fn metrics(&self) -> &Arc<MetricsCollector>
Get metrics reference
Auto Trait Implementations§
impl !RefUnwindSafe for Gateway
impl !UnwindSafe for Gateway
impl Freeze for Gateway
impl Send for Gateway
impl Sync for Gateway
impl Unpin for Gateway
impl UnsafeUnpin for Gateway
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