Struct jsonrpc_http_server::Server
source · [−]pub struct Server { /* private fields */ }
Expand description
jsonrpc http server instance
Implementations
sourceimpl Server
impl Server
sourcepub fn address(&self) -> &SocketAddr
pub fn address(&self) -> &SocketAddr
Returns address of this server
sourcepub fn close_handle(&self) -> CloseHandle
pub fn close_handle(&self) -> CloseHandle
Get a handle that allows us to close the server from a different thread and/or while the
server is wait()
ing.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more