Struct ghee::DEFAULT_KEY
source · pub struct DEFAULT_KEY { /* private fields */ }Expand description
The key assigned to bare (uninitialized) directories when they’re treated as tables
Methods from Deref<Target = Key>§
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn to_string(&self) -> String
pub fn to_minimal_string(&self) -> String
pub fn iter(&self) -> Iter<'_, Xattr>
sourcepub fn value_for_path(&self, path: &PathBuf) -> Result<Vec<Value>>
pub fn value_for_path(&self, path: &PathBuf) -> Result<Vec<Value>>
Return the value of this key for the specified path TODO Get only the relevant xattrs
pub fn value_for_record(&self, record: &Record) -> Result<Vec<Value>>
pub fn path_for_record( &self, base_path: PathBuf, record: &Record ) -> Result<PathBuf>
Trait Implementations§
source§impl Deref for DEFAULT_KEY
impl Deref for DEFAULT_KEY
impl LazyStatic for DEFAULT_KEY
Auto Trait Implementations§
impl RefUnwindSafe for DEFAULT_KEY
impl Send for DEFAULT_KEY
impl Sync for DEFAULT_KEY
impl Unpin for DEFAULT_KEY
impl UnwindSafe for DEFAULT_KEY
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