pub struct DocumentId<'v, 's, S: RangeSource>(/* private fields */);Expand description
Identity of this actual borrowed original archive/session. Keeping the archive borrow prevents address reuse from becoming another live document.
Trait Implementations§
Source§impl<S: RangeSource> Clone for DocumentId<'_, '_, S>
impl<S: RangeSource> Clone for DocumentId<'_, '_, S>
impl<S: RangeSource> Copy for DocumentId<'_, '_, S>
Source§impl<S: RangeSource> Debug for DocumentId<'_, '_, S>
impl<S: RangeSource> Debug for DocumentId<'_, '_, S>
impl<S: RangeSource> Eq for DocumentId<'_, '_, S>
Auto Trait Implementations§
impl<'v, 's, S> !RefUnwindSafe for DocumentId<'v, 's, S>
impl<'v, 's, S> !Send for DocumentId<'v, 's, S>
impl<'v, 's, S> !Sync for DocumentId<'v, 's, S>
impl<'v, 's, S> !UnwindSafe for DocumentId<'v, 's, S>
impl<'v, 's, S> Forget for DocumentId<'v, 's, S>
impl<'v, 's, S> Freeze for DocumentId<'v, 's, S>
impl<'v, 's, S> Unpin for DocumentId<'v, 's, S>
impl<'v, 's, S> UnsafeUnpin for DocumentId<'v, 's, S>where
&'v Archive<'s, S>: UnsafeUnpin,
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