Function btfproto::server::new_fs_server
source · pub fn new_fs_server<C, P>(
ip_addr: IpAddr,
creds: Arc<C>,
provider: Arc<P>
) -> Result<Receiver>where
C: 'static + Creds,
P: 'static + FsProvider,
Expand description
Creates a new filesystem server by creating a Receiver which uses the given FsProvider to
handle filesystem access requests.
The server listens on ip_addr
and uses creds
to authenticate itself to clients.