pub struct Portal<'a, C>where
C: Query,{ /* private fields */ }
Expand description
A portal.
Portals can only be used with the connection that created them, and only exist for the duration of the transaction in which they were created.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, C> Freeze for Portal<'a, C>
impl<'a, C> RefUnwindSafe for Portal<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for Portal<'a, C>where
C: Sync,
impl<'a, C> Sync for Portal<'a, C>where
C: Sync,
impl<'a, C> Unpin for Portal<'a, C>
impl<'a, C> UnwindSafe for Portal<'a, C>where
C: RefUnwindSafe,
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