pub struct GraphqlServer { /* private fields */ }Implementations§
Source§impl GraphqlServer
impl GraphqlServer
pub fn bind(address: &str) -> Result<Self>
pub fn local_addr(&self) -> Result<SocketAddr>
Sourcepub fn shutdown_handle(&self) -> Result<GraphqlShutdown>
pub fn shutdown_handle(&self) -> Result<GraphqlShutdown>
A handle that stops serve.
Auto Trait Implementations§
impl !Sync for GraphqlServer
impl Forget for GraphqlServer
impl Freeze for GraphqlServer
impl Move for GraphqlServer
impl RefUnwindSafe for GraphqlServerwhere
I32NotAllOnes: RefUnwindSafe,
Sender<Job>: RefUnwindSafe,
Receiver<Job>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
impl Send for GraphqlServer
impl Unpin for GraphqlServer
impl UnsafeUnpin for GraphqlServerwhere
I32NotAllOnes: UnsafeUnpin,
*mut Counter<Channel<Job>>: UnsafeUnpin,
*mut Counter<Channel<Job>>: UnsafeUnpin,
*mut Counter<Channel<Job>>: UnsafeUnpin,
*const ArcInner<Atomic<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin,
impl UnwindSafe for GraphqlServerwhere
I32NotAllOnes: UnwindSafe,
Sender<Job>: UnwindSafe,
Receiver<Job>: UnwindSafe,
Arc<Atomic<bool>>: UnwindSafe,
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