Searched refs:Allocation (Results 1 – 5 of 5) sorted by relevance
13 let a = Allocation::new( in test_has_permission()51 let a = Allocation::new( in test_add_permission()75 let a = Allocation::new( in test_remove_permission()108 let a = Allocation::new( in test_add_channel_bind()142 let a = Allocation::new( in test_get_channel_by_number()178 let a = Allocation::new( in test_get_channel_by_addr()210 let a = Allocation::new( in test_remove_channel_bind()247 let a = Allocation::new( in test_allocation_refresh()269 let a = Allocation::new( in test_allocation_close()
76 pub async fn get_allocation(&self, five_tuple: &FiveTuple) -> Option<Arc<Allocation>> { in get_allocation() argument89 ) -> Result<Arc<Allocation>> { in create_allocation() argument102 let mut a = Allocation::new( in create_allocation()
37 pub type AllocationMap = Arc<Mutex<HashMap<FiveTuple, Arc<Allocation>>>>;71 pub struct Allocation { struct93 impl Allocation { argument103 Allocation { in new()
10 async fn create_channel_bind(lifetime: Duration) -> Result<Allocation> { in create_channel_bind() argument14 let a = Allocation::new( in create_channel_bind()
6 * Added `alloc_close_notify` config parameter to `ServerConfig` and `Allocation`, to receive notify…