pub struct Reader<'a, P: Policy> { /* private fields */ }Expand description
One of a database’s readers, reserved for its caller until it drops. Dropping it wakes a caller waiting for a reader, even when a call on it panics.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for Reader<'a, P>
impl<'a, P> RefUnwindSafe for Reader<'a, P>
impl<'a, P> Send for Reader<'a, P>
impl<'a, P> Sync for Reader<'a, P>
impl<'a, P> Unpin for Reader<'a, P>
impl<'a, P> UnsafeUnpin for Reader<'a, P>
impl<'a, P> UnwindSafe for Reader<'a, P>
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