pub fn new(route_open: RoutingFn) -> Arc<DirectoryBroker> {
        return Arc::new(DirectoryBroker {
            inner: Mutex::new(Inner {
                route_open,
                entry_info: EntryInfo::new(INO_UNKNOWN, DIRENT_TYPE_SERVICE),
            }),
        });
    }
/// new will create a new DirectoryBroker to forward directory open requests.
new will create a new DirectoryBroker to forward directory open requests.
new will create a new DirectoryBroker to forward directory open requests .
pub fn new(route_open: RoutingFn) -> Arc<DirectoryBroker> {
        return Arc::new(DirectoryBroker {
            inner: Mutex::new(Inner {
                route_open,
                entry_info: EntryInfo::new(INO_UNKNOWN, DIRENT_TYPE_SERVICE),
            }),
        });
    }
pub fn new ( route_open : RoutingFn ) -> Arc < DirectoryBroker > { return Arc :: new ( DirectoryBroker { inner : Mutex :: new ( Inner { route_open , entry_info : EntryInfo :: new ( INO_UNKNOWN , DIRENT_TYPE_SERVICE ) , } ) , } ) ; }
new will create a new DirectoryBroker to forward directory open requests.
new will create a new DirectoryBroker to forward directory open requests .
route_open
RoutingFn
route_open
RoutingFn