pub trait ArchiveOwner:
Send
+ Sync
+ 'static { }Expand description
Re-export of Entry.
Marker trait for opaque owners of bytes referenced by archive-backed
PATCH nodes. An Option<Arc<dyn ArchiveOwner>> lives on each
[Branch]; when Some(arc), the Arc keeps the underlying bytes
(typically a memory-mapped archive blob) alive so that any
LocalLeaf children — which are thin pointers into those bytes —
remain valid for the Branch’s lifetime. The trait is intentionally
empty: the owner’s only job is to drop the bytes when its refcount
hits zero.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".