MCPcopy 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
133impl ConsoleEpollHandler {

Callers 4

newMethod · 0.80
runMethod · 0.80
handle_eventMethod · 0.80
handle_timeoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected