[−][src]Struct iml_wire_types::warp_drive::ArcCache
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]
&self,
composite_id: &CompositeId
) -> Option<Arc<dyn ErasedRecord>>
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
impl RefUnwindSafe for ArcCache
impl Send for ArcCache
impl Sync for ArcCache
impl Unpin for ArcCache
impl UnwindSafe for ArcCache
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,