[][src]Struct vfs_service::ServiceDirNode

pub struct ServiceDirNode {
    pub children: BTreeSet<u64>,
    pub name_map: HashMap<OsString, u64, RandomState>,
    pub service: Box<dyn SingleService + 'static + Send>,
}

Fields

children: BTreeSet<u64>name_map: HashMap<OsString, u64, RandomState>service: Box<dyn SingleService + 'static + Send>

Methods

impl ServiceDirNode[src]

pub fn new(service: Box<dyn SingleService + 'static + Send>) -> ServiceDirNode[src]

pub fn add(&mut self, id: u64, name: OsString)[src]

Trait Implementations

impl Debug for ServiceDirNode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]