[][src]Struct iml_wire_types::warp_drive::Cache

pub struct Cache {
    pub content_type: HashMap<u32, ContentTypeRecord>,
    pub corosync_configuration: HashMap<u32, CorosyncConfigurationRecord>,
    pub active_alert: HashMap<u32, Alert>,
    pub filesystem: HashMap<u32, Filesystem>,
    pub group: HashMap<u32, AuthGroupRecord>,
    pub host: HashMap<u32, Host>,
    pub lnet_configuration: HashMap<u32, LnetConfigurationRecord>,
    pub managed_target_mount: HashMap<u32, ManagedTargetMountRecord>,
    pub ost_pool: HashMap<u32, OstPoolRecord>,
    pub ost_pool_osts: HashMap<u32, OstPoolOstsRecord>,
    pub stratagem_config: HashMap<u32, StratagemConfiguration>,
    pub target: HashMap<u32, Target<TargetConfParam>>,
    pub user: HashMap<u32, AuthUserRecord>,
    pub user_group: HashMap<u32, AuthUserGroupRecord>,
    pub pacemaker_configuration: HashMap<u32, PacemakerConfigurationRecord>,
    pub volume: HashMap<u32, VolumeRecord>,
    pub volume_node: HashMap<u32, VolumeNodeRecord>,
}

Fields

content_type: HashMap<u32, ContentTypeRecord>corosync_configuration: HashMap<u32, CorosyncConfigurationRecord>active_alert: HashMap<u32, Alert>filesystem: HashMap<u32, Filesystem>group: HashMap<u32, AuthGroupRecord>host: HashMap<u32, Host>lnet_configuration: HashMap<u32, LnetConfigurationRecord>managed_target_mount: HashMap<u32, ManagedTargetMountRecord>ost_pool: HashMap<u32, OstPoolRecord>ost_pool_osts: HashMap<u32, OstPoolOstsRecord>stratagem_config: HashMap<u32, StratagemConfiguration>target: HashMap<u32, Target<TargetConfParam>>user: HashMap<u32, AuthUserRecord>user_group: HashMap<u32, AuthUserGroupRecord>pacemaker_configuration: HashMap<u32, PacemakerConfigurationRecord>volume: HashMap<u32, VolumeRecord>volume_node: HashMap<u32, VolumeNodeRecord>

Methods

impl Cache[src]

pub fn remove_record(&mut self, x: RecordId) -> bool[src]

Removes the record from the cache

pub fn insert_record(&mut self, x: Record)[src]

Inserts the record into the cache

Trait Implementations

impl Clone for Cache[src]

impl Debug for Cache[src]

impl Default for Cache[src]

impl<'de> Deserialize<'de> for Cache[src]

impl<'_> From<&'_ ArcCache> for Cache[src]

impl<'_> From<&'_ Cache> for ArcCache[src]

impl PartialEq<Cache> for Cache[src]

impl Serialize for Cache[src]

impl StructuralPartialEq for Cache[src]

Auto Trait Implementations

impl RefUnwindSafe for Cache

impl Send for Cache

impl Sync for Cache

impl Unpin for Cache

impl UnwindSafe for Cache

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToBytes for T where
    T: Serialize
[src]

impl<T> ToJsonValue for T where
    T: Serialize
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.