pub struct LockboxEntry {
pub path: LockboxPath,
pub kind: LockboxEntryKind,
pub len: u64,
pub permissions: u32,
}Expand description
Metadata returned by lockbox listing and stat APIs.
This type contains only metadata stored in the table of contents. Symlink
targets are stored in symlink page objects, so callers that need a target
should call Lockbox::get_symlink_target for symlink entries.
Fields§
§path: LockboxPathCanonical logical path inside the lockbox.
kind: LockboxEntryKindNode kind.
len: u64File length in bytes. Symlink and directory entries report zero.
permissions: u32Stored Unix-style permission bits.
Trait Implementations§
Source§impl Clone for LockboxEntry
impl Clone for LockboxEntry
Source§fn clone(&self) -> LockboxEntry
fn clone(&self) -> LockboxEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LockboxEntry
impl Debug for LockboxEntry
impl Eq for LockboxEntry
Source§impl PartialEq for LockboxEntry
impl PartialEq for LockboxEntry
impl StructuralPartialEq for LockboxEntry
Auto Trait Implementations§
impl Freeze for LockboxEntry
impl RefUnwindSafe for LockboxEntry
impl Send for LockboxEntry
impl Sync for LockboxEntry
impl Unpin for LockboxEntry
impl UnsafeUnpin for LockboxEntry
impl UnwindSafe for LockboxEntry
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