pub struct TenantRegistry { /* private fields */ }Expand description
Registry of per-user MCP server instances for multi-tenant mode.
Implementations§
Source§impl TenantRegistry
impl TenantRegistry
Sourcepub fn new(data_dir: &Path) -> Self
pub fn new(data_dir: &Path) -> Self
Create a new tenant registry backed by the given data directory.
Auto Trait Implementations§
impl Freeze for TenantRegistry
impl RefUnwindSafe for TenantRegistry
impl Send for TenantRegistry
impl Sync for TenantRegistry
impl Unpin for TenantRegistry
impl UnsafeUnpin for TenantRegistry
impl UnwindSafe for TenantRegistry
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