Home
last modified time | relevance | path

Searched defs:ConnMapKey (Results 1 – 3 of 3) sorted by relevance

/cloud-hypervisor/virtio-devices/src/vsock/unix/
H A Dmuxer_killq.rs74 pub fn from_conn_map(conn_map: &HashMap<ConnMapKey, MuxerConnection>) -> Self { in from_conn_map()
100 pub fn push(&mut self, key: ConnMapKey, kill_time: Instant) { in push()
113 pub fn pop(&mut self) -> Option<ConnMapKey> { in pop()
H A Dmuxer.rs61 pub struct ConnMapKey { struct
70 /// The packet must be fetched from the connection identified by `ConnMapKey`. argument
533 fn add_connection(&mut self, key: ConnMapKey, conn: MuxerConnection) -> Result<()> { in add_connection()
569 fn remove_connection(&mut self, key: ConnMapKey) { in remove_connection()
580 fn kill_connection(&mut self, key: ConnMapKey) { in kill_connection()
705 fn apply_conn_mutation<F>(&mut self, key: ConnMapKey, mut_fn: F) in apply_conn_mutation()
H A Dmuxer_rxq.rs51 pub fn from_conn_map(conn_map: &HashMap<ConnMapKey, MuxerConnection>) -> Self { in from_conn_map()