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 Freeze for GraphqlServer
impl RefUnwindSafe for GraphqlServer
impl Send for GraphqlServer
impl Unpin for GraphqlServer
impl UnsafeUnpin for GraphqlServer
impl UnwindSafe for GraphqlServer
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