Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ is_pty
Method
is_pty
virtio-devices/src/console.rs:128–130 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
126
}
127
128
fn is_pty(&self) -> bool {
129
matches!(self, Self::PtyPair(_, _))
130
}
131
}
132
133
impl ConsoleEpollHandler {
Callers
4
new
Method · 0.80
run
Method · 0.80
handle_event
Method · 0.80
handle_timeout
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected