pub async fn mount_peripheral<H: PeripheralHandle + 'static>(
virtual_file_system: &VirtualFileSystem,
task: TaskIdentifier,
path: impl AsRef<Path>,
handle: H,
) -> Result<()>Expand description
Mounts handle as a character device at path, for example
/devices/uart/uart0, with the default device permissions. The caller
chooses the class directory; this helper adds no permission policy beyond
the VFS mount defaults.