diff --git a/src/drivers/mod.rs b/src/drivers/mod.rs index 23ac9c73..4435727c 100644 --- a/src/drivers/mod.rs +++ b/src/drivers/mod.rs @@ -15,6 +15,7 @@ use crate::protocol::Protocol; #[derive(Clone, Debug, Eq, Hash, PartialEq)] pub enum Type { + FileClient, FileServer, TcpClient, TcpServer, @@ -185,6 +186,10 @@ pub struct ExtInfo { pub fn endpoints() -> Vec { vec![ + ExtInfo { + driver_ext: Box::new(file::client::FileClientExt), + typ: Type::FileClient, + }, ExtInfo { driver_ext: Box::new(file::server::FileServerExt), typ: Type::FileServer,