Struct jsonrpsee_server::Server
source · pub struct Server<B = Identity, L = ()> { /* private fields */ }Expand description
JSON RPC server.
Implementations§
source§impl<B, L> Server<B, L>
impl<B, L> Server<B, L>
sourcepub fn local_addr(&self) -> Result<SocketAddr, Error>
pub fn local_addr(&self) -> Result<SocketAddr, Error>
Returns socket address to which the server is bound.