mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-10-28 08:20:49 +08:00
feat: 初步支持 USB 网卡桥接;删除 OTG 端点预算管理
This commit is contained in:
@@ -5,8 +5,6 @@ use crate::error::Result;
|
||||
pub trait GadgetFunction: Send + Sync {
|
||||
fn name(&self) -> &str;
|
||||
|
||||
fn endpoints_required(&self) -> u8;
|
||||
|
||||
fn create(&self, gadget_path: &Path) -> Result<()>;
|
||||
|
||||
fn link(&self, config_path: &Path, gadget_path: &Path) -> Result<()>;
|
||||
|
||||
Reference in New Issue
Block a user