Struct async_graphql_relay::RelayContext
source · pub struct RelayContext(_);
Expand description
RelayContext allows context to be parsed to the get
handler to facilitate refetching of objects.
This is designed for parsing the Database connection but could be used for any global state.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RelayContext
impl Send for RelayContext
impl Sync for RelayContext
impl Unpin for RelayContext
impl !UnwindSafe for RelayContext
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