pub struct DomainTable {
pub table: Vec<DomainObjectId>,
pub domains: Vec<ServerHolder>,
}
Fields
table: Vec<DomainObjectId>
domains: Vec<ServerHolder>
Implementations
sourceimpl DomainTable
impl DomainTable
pub fn new() -> Self
pub fn allocate_id(&mut self) -> Result<DomainObjectId>
pub fn allocate_specific_id(
&mut self,
specific_domain_object_id: DomainObjectId
) -> Result<DomainObjectId>
pub fn find_domain(
&mut self,
id: DomainObjectId
) -> Result<Shared<dyn ISessionObject>>
pub fn deallocate_domain(&mut self, domain_object_id: DomainObjectId)
Auto Trait Implementations
impl !RefUnwindSafe for DomainTable
impl !Send for DomainTable
impl !Sync for DomainTable
impl Unpin for DomainTable
impl !UnwindSafe for DomainTable
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more