Struct kkcloud_framework::ctrl::Service[][src]

pub struct Service {
    pub all_user: Arc<RwLock<HashMap<UserId, User>>>,
    pub all_env: Arc<RwLock<HashMap<EnvId, Env>>>,
    pub all_vm: Arc<RwLock<HashMap<VmId, Vm>>>,
}

Service is a global data collection.

Fields

all_user: Arc<RwLock<HashMap<UserId, User>>>all_env: Arc<RwLock<HashMap<EnvId, Env>>>all_vm: Arc<RwLock<HashMap<VmId, Vm>>>

Trait Implementations

impl Default for Service[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.