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>
pub fn value_for_record( &self, record: &BTreeMap<Xattr, Value>, ) -> Result<Vec<Value>, Error>
pub fn path_for_record( &self, base_path: PathBuf, record: &BTreeMap<Xattr, Value>, ) -> Result<PathBuf, Error>
Trait Implementations§
Source§impl Deref for DEFAULT_KEY
impl Deref for DEFAULT_KEY
impl LazyStatic for DEFAULT_KEY
Auto Trait Implementations§
impl Freeze for DEFAULT_KEY
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