MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / out_file

Method out_file

virtio-devices/src/console.rs:110–117  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

108
109impl Endpoint {
110 fn out_file(&self) -> Option<&File> {
111 match self {
112 Self::File(f) => Some(f),
113 Self::FilePair(f, _) => Some(f),
114 Self::PtyPair(f, _) => Some(f),
115 Self::Null => None,
116 }
117 }
118
119 fn in_file(&self) -> Option<&File> {
120 match self {

Callers 1

newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected