pub struct Portal<'a, C>where
C: ClientBorrow,{ /* 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§
Source§impl<C> Portal<'_, C>where
C: ClientBorrow,
impl<C> Portal<'_, C>where
C: ClientBorrow,
pub fn query_portal( &self, max_rows: i32, ) -> Result<<<PortalQuery<'_> as Encode>::Output as IntoResponse>::Response, Error>
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> UnsafeUnpin 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