Skip to main content

backend_injects_9p_socket

Function backend_injects_9p_socket 

Source
pub fn backend_injects_9p_socket(backend_type: &str) -> bool
Expand description

Does the registered backend named backend_type advertise 9P socket injection? Returns false for an unknown/unregistered name.

This queries the registry (not a live backend instance), so a caller holding an already-constructed Arc<dyn SandboxBackend> can check its capability via SandboxBackend::backend_type.