pub struct RelayContext(/* private fields */);
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 Freeze for RelayContext
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