Struct libimagstore::store::FileLockEntry
[−]
[src]
pub struct FileLockEntry<'a> { /* fields omitted */ }
A struct that allows you to borrow an Entry
Methods from Deref<Target = Entry>
fn to_str(&self) -> String
[src]
Return the string representation of this entry
This means not only the content of the entry, but the complete entry (from memory, not from disk).
fn get_location(&self) -> &StoreId
[src]
Get the location of the Entry
fn get_header(&self) -> &Value
[src]
Get the header of the Entry
fn get_header_mut(&mut self) -> &mut Value
[src]
Get the header mutably of the Entry
fn get_content(&self) -> &EntryContent
[src]
Get the content of the Entry
fn get_content_mut(&mut self) -> &mut EntryContent
[src]
Get the content mutably of the Entry
fn verify(&self) -> Result<()>
[src]
Verify the entry.
Currently, this only verifies the header. This might change in the future.
Trait Implementations
impl<'a> Debug for FileLockEntry<'a>
[src]
fn fmt(&self, fmt: &mut Formatter) -> RResult<(), FMTError>
[src]
Formats the value using the given formatter.
impl<'a> Deref for FileLockEntry<'a>
[src]
type Target = Entry
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.