/// new_service_broker will create a new DirectoryBroker to proxy service requests. Whenever an
/// open call is received the given closure is called with the new ServerEnd. If the entry_info
/// of this node is inspected, it will tell the caller that it is a service node.
new_service_broker will create a new DirectoryBroker to proxy service requests. Whenever an
open call is received the given closure is called with the new ServerEnd. If the entry_info
of this node is inspected, it will tell the caller that it is a service node.
new_service_broker will create a new DirectoryBroker to proxy service requests . Whenever an open call is received the given closure is called with the new ServerEnd . If the entry_info of this node is inspected it will tell the caller that it is a service node .
pub fn new_service_broker(
        route_service: Box<FnMut(ServerEnd<NodeMarker>) + Send>,
    ) -> DirectoryBroker {
        return DirectoryBroker {
            route_service,
            entry_info: fvfs::directory::entry::EntryInfo::new(INO_UNKNOWN, DIRENT_TYPE_SERVICE),
        };
    }
pub fn new_service_broker ( route_service : Box < FnMut ( ServerEnd < NodeMarker > ) + Send > , ) -> DirectoryBroker { return DirectoryBroker { route_service , entry_info : fvfs :: directory :: entry :: EntryInfo :: new ( INO_UNKNOWN , DIRENT_TYPE_SERVICE ) , } ; }
new_service_broker will create a new DirectoryBroker to proxy service requests.
new_service_broker will create a new DirectoryBroker to proxy service requests .
route_service
Box<FnMut(ServerEnd<NodeMarker>) + Send>