pub struct LentPayload<'a, P> { /* private fields */ }Expand description
A member payload that keeps its lending Members cursor borrowed.
This wrapper is returned by Members::next. Its private fields prevent a
payload whose concrete type does not itself borrow the archive from being
detached from the cursor lifetime.
Trait Implementations§
Source§impl<'a, P: Debug> Debug for LentPayload<'a, P>
impl<'a, P: Debug> Debug for LentPayload<'a, P>
Source§impl<P: MemberPayload> MemberPayload for LentPayload<'_, P>
impl<P: MemberPayload> MemberPayload for LentPayload<'_, P>
Auto Trait Implementations§
impl<'a, P> !UnwindSafe for LentPayload<'a, P>
impl<'a, P> Freeze for LentPayload<'a, P>where
P: Freeze,
impl<'a, P> RefUnwindSafe for LentPayload<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for LentPayload<'a, P>where
P: Send,
impl<'a, P> Sync for LentPayload<'a, P>where
P: Sync,
impl<'a, P> Unpin for LentPayload<'a, P>where
P: Unpin,
impl<'a, P> UnsafeUnpin for LentPayload<'a, P>where
P: 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