Home
last modified time | relevance | path

Searched refs:VsockEventType (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Virtualization/rialto/src/
Dcommunication.rs28 SocketError, VirtIOSocket, VsockAddr, VsockConnectionManager, VsockEventType,
68 VsockEventType::Connected => return Ok(()), in wait_for_connect()
69 VsockEventType::Disconnected { .. } => { in wait_for_connect()
74 VsockEventType::ConnectionRequest | VsockEventType::Received { .. } => { in wait_for_connect()
79 VsockEventType::CreditRequest | VsockEventType::CreditUpdate => {} in wait_for_connect()
132 Some(VsockEventType::Received { .. }) => return Ok(()), in wait_for_recv()
141 fn poll(&mut self) -> virtio_drivers::Result<Option<VsockEventType>> { in poll() argument
144 VsockEventType::Disconnected { .. } => Err(SocketError::ConnectionFailed.into()), in poll()
145 VsockEventType::Connected | VsockEventType::ConnectionRequest => { in poll()
153 VsockEventType::Received { .. } in poll()
[all …]