MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / new

Method new

crates/openshell-driver-vm/src/runtime.rs:604–611  ·  view source on GitHub ↗
(tap_device: String, host_ip: String, gateway_port: u16)

Source from the content-addressed store, hash-verified

602
603impl TapGuard {
604 fn new(tap_device: String, host_ip: String, gateway_port: u16) -> Self {
605 Self {
606 tap_device,
607 host_ip,
608 gateway_port,
609 disarmed: false,
610 }
611 }
612
613 fn disarm(&mut self) {
614 self.disarmed = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected