[][src]Struct iml_wire_types::warp_drive::ArcCache

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

Fields

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

Methods

impl ArcCache[src]

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

Removes the record from the arc cache

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

Inserts the record into the cache

pub fn get_erased_record(
    &self,
    composite_id: &CompositeId
) -> Option<Arc<dyn ErasedRecord>>
[src]

Given a CompositeId, returns an ErasedRecord if a matching one exists.

Trait Implementations

impl Clone for ArcCache[src]

impl Debug for ArcCache[src]

impl Default for ArcCache[src]

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

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

impl PartialEq<ArcCache> for ArcCache[src]

impl StructuralPartialEq for ArcCache[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> Same<T> for T

type Output = T

Should always be Self

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.