pub struct MetaBlobConfig { /* private fields */ }Expand description
Configuration information for a cached metadata blob.
Implementations§
Source§impl MetaBlobConfig
impl MetaBlobConfig
Sourcepub fn config_v2(&self) -> &Arc<ConfigV2>
pub fn config_v2(&self) -> &Arc<ConfigV2>
Get the [‘ConfigV2’] object associated with the cached data blob.
pub fn get_blobs(&self) -> Vec<Arc<DataBlobConfig>>
Sourcepub fn get_blob_extra_info(&self, blob_id: &str) -> Option<&RafsBlobExtraInfo>
pub fn get_blob_extra_info(&self, blob_id: &str) -> Option<&RafsBlobExtraInfo>
Get optional extra information associated with a blob object.
Sourcepub fn is_tarfs_mode(&self) -> bool
pub fn is_tarfs_mode(&self) -> bool
Check whether the filesystem is in TARFS mode.
Auto Trait Implementations§
impl !Freeze for MetaBlobConfig
impl RefUnwindSafe for MetaBlobConfig
impl Send for MetaBlobConfig
impl Sync for MetaBlobConfig
impl Unpin for MetaBlobConfig
impl UnwindSafe for MetaBlobConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more