pub struct OwnedEndpointContext<S: AuthSchema> { /* private fields */ }Expand description
Retained endpoint input and the same transaction adapter used by the original callback. SQL transactions reject database operations after finalization. Memory transactions retain their isolated rows, including row identities installed during commit.
Implementations§
Source§impl<S: AuthSchema> OwnedEndpointContext<S>
impl<S: AuthSchema> OwnedEndpointContext<S>
Sourcepub fn as_endpoint(&self) -> EndpointContext<'_, S>
pub fn as_endpoint(&self) -> EndpointContext<'_, S>
Borrow the retained endpoint without resolving a new request or transaction.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for OwnedEndpointContext<S>
impl<S> !UnwindSafe for OwnedEndpointContext<S>
impl<S> Freeze for OwnedEndpointContext<S>
impl<S> Send for OwnedEndpointContext<S>
impl<S> Sync for OwnedEndpointContext<S>
impl<S> Unpin for OwnedEndpointContext<S>
impl<S> UnsafeUnpin for OwnedEndpointContext<S>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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