pub struct ServiceDirNode {
pub children: BTreeSet<u64>,
pub name_map: HashMap<OsString, u64>,
pub service: Box<dyn SingleService + Send>,
}
Fields§
§children: BTreeSet<u64>
§name_map: HashMap<OsString, u64>
§service: Box<dyn SingleService + Send>
Implementations§
Source§impl ServiceDirNode
impl ServiceDirNode
pub fn new(service: Box<dyn SingleService + Send>) -> ServiceDirNode
pub fn add(&mut self, id: u64, name: OsString)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServiceDirNode
impl !RefUnwindSafe for ServiceDirNode
impl Send for ServiceDirNode
impl !Sync for ServiceDirNode
impl Unpin for ServiceDirNode
impl !UnwindSafe for ServiceDirNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more