pub struct CookieScope<'a>(/* private fields */);Expand description
Holds the cookie for one transaction that runs no DDL. Dropping the last scope clears the stored cookie.
Trait Implementations§
Source§impl Drop for CookieScope<'_>
impl Drop for CookieScope<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CookieScope<'a>
impl<'a> !Send for CookieScope<'a>
impl<'a> !Sync for CookieScope<'a>
impl<'a> !UnwindSafe for CookieScope<'a>
impl<'a> Freeze for CookieScope<'a>
impl<'a> Unpin for CookieScope<'a>
impl<'a> UnsafeUnpin for CookieScope<'a>
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